commit | 8b29450437d7e3a507d8421621b02fcaa2368637 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Wed Jun 26 10:23:28 2019 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Jul 03 10:24:02 2019 +0200 |
tree | b701772e79a024428da7fe85fba9e355162c259c | |
parent | acc141374df40abd24ed5e128c8a3eb43805a688 [diff] |
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>