gpio: tps65218: use devm_gpiochip_add_data() for gpio registration
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 16 Sep 2016 01:51:10 +0000 (01:51 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 18 Sep 2016 11:18:13 +0000 (13:18 +0200)
commit8df759c9e66d91507b653433b14ef2216d19ee29
tree8f6e60e951e99e9ba3bd05edfec52224fb4c4857
parent7f8b96570291def5104cec6f68bae09bd55b691a
gpio: tps65218: use devm_gpiochip_add_data() for gpio registration

Use devm_gpiochip_add_data() for GPIO registration and remove the need
of driver callback .remove.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tps65218.c