]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: sx150x: fix implicit assumption module.h is present
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 12 Sep 2016 22:16:25 +0000 (18:16 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Sep 2016 11:59:02 +0000 (13:59 +0200)
commit45d579bae85f4a6c8b1822c0a33d7bca72bf5f11
tree9057c4fc0bfd400a5110b4f72607964d144cedbd
parentc9c284b7aa13533e276b73a7400efce1bd171dc0
gpio: sx150x: fix implicit assumption module.h is present

This file is currently getting module.h from a global gpio header
and it will faii to build once we remove module.h from that.

However, the driver is controlled with the following Kconfig:

drivers/gpio/Kconfig:config GPIO_SX150X
drivers/gpio/Kconfig:   bool "Semtech SX150x I2C GPIO expander"

and hence the two lines of MODULE_DEVICE_TABLE are no-ops that
can simply be deleted.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sx150x.c