Re: [greybus-dev] [PATCH 47/61] staging: greybus: simplify getting .drvdata

From: Viresh Kumar
Date: Fri Apr 20 2018 - 00:24:35 EST


On 19-04-18, 16:06, 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/staging/greybus/arche-platform.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh