iio: Change ISA_BUS_API dependency to selection
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Fri, 29 Dec 2017 20:13:19 +0000 (15:13 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Feb 2018 15:13:41 +0000 (16:13 +0100)
commit1f8f93683da36a64109178344aee0dddd594bc7f
treee553b1271e793a6563f84feb09004bd04c95d073
parent51750fb167a054684a18c20e0e78f7f65b12c985
iio: Change ISA_BUS_API dependency to selection

The ISA_BUS_API Kconfig option enables the compilation of the ISA bus
driver. The ISA bus driver does not perform any hardware interaction,
and is instead just a thin layer of software abstraction to eliminate
boilerplate code common to ISA-style device drivers. Since ISA_BUS_API
has no dependencies and does not jeopardize the integrity of the system
when enabled, drivers should select it when the ISA bus driver
functionality is needed.

Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/iio/adc/Kconfig
drivers/iio/counter/Kconfig
drivers/iio/dac/Kconfig