mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
pinctrl: as3722: convert PINCTRL_AS3722 from bool to tristate
The Kconfig currently controlling compilation of this code is:
config PINCTRL_AS3722
bool "Pinctrl and GPIO driver for ams AS3722 PMIC"
...meaning that it currently is not being built as a module by anyone.
During an audit for non-modular drivers using modular infrastructure
this driver showed up.
But rather than demodularize it, Laxman indicated that it would be
prefereable to instead convert the driver option to tristate.
This does that, and confirms that it will compile and modpost as
such. However, since I do not have the hardware to confirm that
no new runtime issues exist when modular, that remains untested.
Cc: Laxman Dewangan <ldewangan@nvidia.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
committed by
Linus Walleij
parent
767b8ce361
commit
9385f35d64
@@ -35,7 +35,7 @@ config PINCTRL_ADI2
|
||||
machine and arch are selected to build.
|
||||
|
||||
config PINCTRL_AS3722
|
||||
bool "Pinctrl and GPIO driver for ams AS3722 PMIC"
|
||||
tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
|
||||
depends on MFD_AS3722 && GPIOLIB
|
||||
select PINMUX
|
||||
select GENERIC_PINCONF
|
||||
|
||||
Reference in New Issue
Block a user