diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-06-26 10:23:28 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-07-03 10:24:02 +0200 |
commit | 8b29450437d7e3a507d8421621b02fcaa2368637 (patch) | |
tree | b701772e79a024428da7fe85fba9e355162c259c /drivers/gpio/gpio-altera.c | |
parent | gpio: siox: Add struct device *dev helper variable (diff) | |
download | linux-8b29450437d7e3a507d8421621b02fcaa2368637.tar.xz linux-8b29450437d7e3a507d8421621b02fcaa2368637.zip |
gpio: siox: Use devm_ managed gpiochip
By using devm_gpiochip_add_data() we can get rid of the
remove() callback. As this driver doesn't use the
gpiochip data pointer we simply pass in NULL.
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-altera.c')
0 files changed, 0 insertions, 0 deletions