]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: lpc18xx: convert GPIO_LPC18XX from bool to tristate
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 5 Jun 2016 18:23:43 +0000 (14:23 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Jun 2016 09:04:01 +0000 (11:04 +0200)
commit972d2e90f539b1f18407030e9089a05c4c8763b8
treef5be902b3ca9740a04581dbecda3ce68d8c92bf6
parent6128c41042eb2982f7ad31d68eef88a4efe2f967
gpio: lpc18xx: convert GPIO_LPC18XX from bool to tristate

The Kconfig currently controlling compilation of this code is:

 config GPIO_LPC18XX
       bool "NXP LPC18XX/43XX GPIO support"

...meaning that it currently is not being built as a module by anyone.

When targeting orphaned modular code in non-modular drivers, this
came up.  Joachim indicated that the driver was actually meant to
be tristate but ended up bool by accident.  So here we make it
tristate instead of removing the modular code that was essentially
orphaned.

Cc: Joachim Eastwood <manabian@gmail.com>
Acked-by: Joachim Eastwood <manabian@gmail.com>
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/Kconfig