Re: [PATCH v1 2/6] serial: txx9: Drop usage of uart_match_port()

Uwe Kleine-König <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.kernel.vger.linux-serial
Message-ID <anDksB-66XoEIToX@monoceros>
On Mon, Aug 03, 2026 at 08:27:22PM +0300, Ilpo Järvinen wrote:
> On Fri, 31 Jul 2026, Uwe Kleine-König wrote:
> 
> > In this driver .iotype is always UPIO_PORT. So uart_match_port() is
> > equivalent to comparing .iobase. Remove the call to uart_match_port()
> > which then only has a single caller that is handled in the next commit.
> 
> Not directly related to the change. The txx9 driver seems to have some 
> iotype switch/cases as well so some !UPIO_PORT deadcode too.

So patch #1 could get rid of these, too. Will look into that for v2.

Best regards
Uwe
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmpw5SEACgkQj4D7WH0S
/k7nuwf9FcCjT3SAwcpcJ3KY3i5bsoyZzuwF0T86YlkfjvCJgwH51upt+W0wHk1E
dEedXl5MWGGSJIIz5/aJ9vY8LBvNY4VWWnxdRf8RpZe7iNHfewutkkZRLQEi2SNA
lvjUvCJ+0Jbf64r+m95r/5mHlqf2ZYZVC5Lo69JyJE98cKVBSZBJX20aZC9pCYZx
YhVhEfbgGnNxE742FkKIiudemAd5S5sXLWS1ktq+ujFGZY6GwA8TVzhR3j6ipQ0t
Pa2XATgRv1xDZlAen50dE7HQpKucIUrtHoxkZzxXgGQ8Y3LGIT6KXsmZBnGW3EUa
rSq52DXQSbQkDDT6nGR1k9YOVJC3cA==
=Yx2B
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.