gpio: xgs-iproc: remove __exit annotation for iproc_gpio_remove
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Dec 2019 19:54:01 +0000 (20:54 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 11 Dec 2019 09:13:42 +0000 (10:13 +0100)
commit9cc7a18bcbd47e82960a059127497ab09c4abd05
tree1767b8533ae3a16684a4e4bb31cc7ddabfbd185d
parent11e299de3aced4ea23a9fb1fef6c983c8d516302
gpio: xgs-iproc: remove __exit annotation for iproc_gpio_remove

When built into the kernel, the driver causes a link problem:

`iproc_gpio_remove' referenced in section `.data' of drivers/gpio/gpio-xgs-iproc.o: defined in discarded section `.exit.text' of drivers/gpio/gpio-xgs-iproc.o

Remove the incorrect annotation.

Fixes: 6a41b6c5fc20 ("gpio: Add xgs-iproc driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-xgs-iproc.c