]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: altera-a10sr: Drop unnecessary gpiochip_remove
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 24 Oct 2016 14:49:13 +0000 (14:49 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 25 Oct 2016 11:58:42 +0000 (13:58 +0200)
commit4dbeacd626c294522b9600d91437529a1522e302
tree8dd8cf351f7e70311bad205eb219818532704744
parent1e15a7ad4c2b43d6aaa628bd35036d83ae936fc6
gpio: altera-a10sr: Drop unnecessary gpiochip_remove

It's not necessary to unregister gpio_chip which registered
with devm_gpiochip_add_data().
Also get rid of useless altr_a10sr_gpio_remove().

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