gpio: gpio-zynq: simplify getting .driver_data
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 21 Oct 2018 20:00:01 +0000 (22:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Nov 2018 07:54:41 +0000 (08:54 +0100)
commit38ccad0243f9e2f6ab9a852b31b8181b29479b59
tree02a7b4fd075044ad852a833cdfd87031abd41565
parenta3f4f728d3bbfe4fc2a8e0d8e5d04b3812e44de0
gpio: gpio-zynq: simplify getting .driver_data

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@sang-engineering.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-zynq.c