]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tqmx86: Drop unnecessary gpiochip_remove in tqmx86_gpio_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 1 Feb 2019 09:18:41 +0000 (09:18 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 9 Feb 2019 10:33:37 +0000 (11:33 +0100)
commit154c3aa6f4f6db6b8395c3e2de2a223ae4bf638a
tree3cb307879af68882082841a7fab85c9a4221876c
parentc75a0163ad2bcc268af4940e3d3e63ce022f859c
gpio: tqmx86: Drop unnecessary gpiochip_remove in tqmx86_gpio_probe()

It's not necessary to remove gpio_chip which added with
devm_gpiochip_add_data().

Fixes: a157b72bbfb4 ("gpio: tqmx86: Add GPIO from for this IO controller")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tqmx86.c