[PATCH 2 7/9] serial: imx: remove redundant assignment in rs485_config

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Feb 16 09:43:19 PST 2022


On Wed, Feb 16, 2022 at 01:18:01AM +0100, Lino Sanfilippo wrote:
> In uart_set_rs485_config() the serial core already assigns the passed
> serial_rs485 struct to the uart port.
> 
> So remove the assignment in the drivers rs485_config() function to avoid
> reduncancy.
> 
> Signed-off-by: Lino Sanfilippo <LinoSanfilippo at gmx.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Thanks
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/20220216/8bce8269/attachment.sig>


More information about the linux-arm-kernel mailing list