summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-altera.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-06-26 10:23:28 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-07-03 10:24:02 +0200
commit8b29450437d7e3a507d8421621b02fcaa2368637 (patch)
treeb701772e79a024428da7fe85fba9e355162c259c /drivers/gpio/gpio-altera.c
parentgpio: siox: Add struct device *dev helper variable (diff)
downloadlinux-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