Re: [PATCH 5/6] gpio: gpio-tegra: simplify getting .driver_data

From: Thierry Reding
Date: Mon Oct 22 2018 - 04:02:00 EST


On Sun, Oct 21, 2018 at 10:00:00PM +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/gpio/gpio-tegra.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature