pinctrl: as3722: convert PINCTRL_AS3722 from bool to tristate
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 13 Jun 2016 21:10:22 +0000 (17:10 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Jun 2016 16:09:24 +0000 (18:09 +0200)
commit9385f35d6426cabd8e35af271fcaf3d8bca40a94
tree4b81607b0a7046b3e0703d1c6b9ce7efdc2659ca
parent767b8ce361669e81ce8c79034ef3bb32d4788fc3
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>
drivers/pinctrl/Kconfig