diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-10-21 21:59:59 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-11-05 08:54:41 +0100 |
commit | a3f4f728d3bbfe4fc2a8e0d8e5d04b3812e44de0 (patch) | |
tree | 532ef86c05071cf751096f81e2e55a4d1b48b7b1 /drivers/gpio/gpio-zynq.c | |
parent | gpio: gpio-mxc: simplify getting .driver_data (diff) | |
download | linux-a3f4f728d3bbfe4fc2a8e0d8e5d04b3812e44de0.tar.xz linux-a3f4f728d3bbfe4fc2a8e0d8e5d04b3812e44de0.zip |
gpio: gpio-omap: 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>
Acked-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-zynq.c')
0 files changed, 0 insertions, 0 deletions