[PATCH] serial: imx: Simplify imx_uart_type
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Thu Mar 2 03:55:47 PST 2023
Hello,
On Thu, Mar 02, 2023 at 12:48:10PM +0100, Uwe Kleine-König wrote:
> There is no point in casting a struct uart_port to a struct imx_port
> just to access the first member of the latter (a struct uart_port).
>
> This introduces code changes.
Please disregard this patch. While the patch is fine as is, I just
noticed a few more functions in this driver that can be simplified
accordingly. I'm about to send out an improved version (with a different
subject, so not called v2).
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230302/f9ac1d62/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list