Re: [PATCH 1/1] rtc: ds1685: simplify getting .driver_data

From: Alexandre Belloni
Date: Mon Oct 22 2018 - 11:53:50 EST


On 21/10/2018 22:00:41+0200, Wolfram Sang wrote:
> We should get 'driver_data' 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.
>
> drivers/rtc/rtc-ds1685.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com