Re: [PATCH 53/61] tty: serial: simplify getting .drvdata

From: Uwe Kleine-König
Date: Thu Apr 19 2018 - 12:23:41 EST


Hello Wolfram,

On Thu, Apr 19, 2018 at 04:06:23PM +0200, Wolfram Sang wrote:
> We should get drvdata from struct device directly. Going via
> platform_device is an unneeded step back and forth.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
>
> Build tested only. buildbot is happy. Please apply individually.
>
> drivers/tty/serial/imx.c | 18 ++++++------------

for serial/imx.c:

Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

Thanks Wolfram for going through this
Uwe


--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |