serial: imx: Drop a few unneeded casts
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 2 Mar 2023 11:54:17 +0000 (12:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2023 16:12:33 +0000 (17:12 +0100)
commit46ce64bbfe0c84d1cf14fb325c8c7c323cabf3b8
tree366607d442c681f9e2b3114f57ef215393ff32af
parent872eb918d8e10a6293240e0dd89a45842079c03c
serial: imx: Drop a few unneeded casts

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 no code changes.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230302115417.1860210-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c