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

Uwe Kleine-König <[email protected]> Mon, 3 Aug 2026 20:59:47 +0200
Newsgroups org.kernel.vger.linux-serial,org.kernel.vger.linux-kernel
Message-ID <anDksB-66XoEIToX@monoceros>
--zrixawysfxikyjpb
Content-Type: text/plain; protected-headers=v1; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Subject: Re: [PATCH v1 2/6] serial: txx9: Drop usage of uart_match_port()
MIME-Version: 1.0

On Mon, Aug 03, 2026 at 08:27:22PM +0300, Ilpo J=E4rvinen wrote:
> On Fri, 31 Jul 2026, Uwe Kleine-K=F6nig wrote:
>=20
> > 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.
>=20
> Not directly related to the change. The txx9 driver seems to have some=20
> 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

--zrixawysfxikyjpb
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmpw5SEACgkQj4D7WH0S
/k7nuwf9FcCjT3SAwcpcJ3KY3i5bsoyZzuwF0T86YlkfjvCJgwH51upt+W0wHk1E
dEedXl5MWGGSJIIz5/aJ9vY8LBvNY4VWWnxdRf8RpZe7iNHfewutkkZRLQEi2SNA
lvjUvCJ+0Jbf64r+m95r/5mHlqf2ZYZVC5Lo69JyJE98cKVBSZBJX20aZC9pCYZx
YhVhEfbgGnNxE742FkKIiudemAd5S5sXLWS1ktq+ujFGZY6GwA8TVzhR3j6ipQ0t
Pa2XATgRv1xDZlAen50dE7HQpKucIUrtHoxkZzxXgGQ8Y3LGIT6KXsmZBnGW3EUa
rSq52DXQSbQkDDT6nGR1k9YOVJC3cA==
=Yx2B
-----END PGP SIGNATURE-----

--zrixawysfxikyjpb--