gpio: tps65086: Use devm_gpiochip_add_data() to simplify remove path
authorAndrew Davis <afd@ti.com>
Mon, 15 May 2023 17:45:18 +0000 (12:45 -0500)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 17 May 2023 09:40:40 +0000 (11:40 +0200)
commit81b010990bfb1d6b359849326ed058599a0fe3bf
tree4ac86145ad2575ed24cd6ce4fb6fdb50473c5344
parentfbc8ab2ccd8547ea536a21a2f7d9e005f2bacc53
gpio: tps65086: Use devm_gpiochip_add_data() to simplify remove path

Use devm version of gpiochip add function to handle removal for us.

While here update copyright and module author.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-tps65086.c