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)
commitf85522c207ce395fc9c1f6b80a47f211d00914b0
tree8dd8cf351f7e70311bad205eb219818532704744
parent54e2602f04ee1bcf02395ff2cbaaa81308b56710
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