Commit d626be00 authored by Enrico Weigelt, metux IT consult's avatar Enrico Weigelt, metux IT consult Committed by Jonathan Cameron

drivers: iio: Kconfig: pedantic cleanup

Formatting of Kconfig files doesn't look so pretty, so just
take damp cloth and clean it up.
Signed-off-by: default avatarEnrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 17104ca2
...@@ -39,28 +39,28 @@ config IIO_TRIGGER ...@@ -39,28 +39,28 @@ config IIO_TRIGGER
data now' interrupt. data now' interrupt.
config IIO_CONSUMERS_PER_TRIGGER config IIO_CONSUMERS_PER_TRIGGER
int "Maximum number of consumers per trigger" int "Maximum number of consumers per trigger"
depends on IIO_TRIGGER depends on IIO_TRIGGER
default "2" default "2"
help help
This value controls the maximum number of consumers that a This value controls the maximum number of consumers that a
given trigger may handle. Default is 2. given trigger may handle. Default is 2.
config IIO_SW_DEVICE config IIO_SW_DEVICE
tristate "Enable software IIO device support" tristate "Enable software IIO device support"
select IIO_CONFIGFS select IIO_CONFIGFS
help help
Provides IIO core support for software devices. A software Provides IIO core support for software devices. A software
device can be created via configfs or directly by a driver device can be created via configfs or directly by a driver
using the API provided. using the API provided.
config IIO_SW_TRIGGER config IIO_SW_TRIGGER
tristate "Enable software triggers support" tristate "Enable software triggers support"
select IIO_CONFIGFS select IIO_CONFIGFS
help help
Provides IIO core support for software triggers. A software Provides IIO core support for software triggers. A software
trigger can be created via configfs or directly by a driver trigger can be created via configfs or directly by a driver
using the API provided. using the API provided.
config IIO_TRIGGERED_EVENT config IIO_TRIGGERED_EVENT
tristate tristate
......
...@@ -6,28 +6,28 @@ ...@@ -6,28 +6,28 @@
menu "Accelerometers" menu "Accelerometers"
config ADIS16201 config ADIS16201
tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer" tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
depends on SPI depends on SPI
select IIO_ADIS_LIB select IIO_ADIS_LIB
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
help help
Say Y here to build support for Analog Devices adis16201 dual-axis Say Y here to build support for Analog Devices adis16201 dual-axis
digital inclinometer and accelerometer. digital inclinometer and accelerometer.
To compile this driver as a module, say M here: the module will To compile this driver as a module, say M here: the module will
be called adis16201. be called adis16201.
config ADIS16209 config ADIS16209
tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer" tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer"
depends on SPI depends on SPI
select IIO_ADIS_LIB select IIO_ADIS_LIB
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
help help
Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer
and accelerometer. and accelerometer.
To compile this driver as a module, say M here: the module will be To compile this driver as a module, say M here: the module will be
called adis16209. called adis16209.
config ADXL345 config ADXL345
tristate tristate
...@@ -100,16 +100,16 @@ config BMA180 ...@@ -100,16 +100,16 @@ config BMA180
module will be called bma180. module will be called bma180.
config BMA220 config BMA220
tristate "Bosch BMA220 3-Axis Accelerometer Driver" tristate "Bosch BMA220 3-Axis Accelerometer Driver"
depends on SPI depends on SPI
select IIO_BUFFER select IIO_BUFFER
select IIO_TRIGGERED_BUFFER select IIO_TRIGGERED_BUFFER
help help
Say yes here to add support for the Bosch BMA220 triaxial Say yes here to add support for the Bosch BMA220 triaxial
acceleration sensor. acceleration sensor.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called bma220_spi. module will be called bma220_spi.
config BMC150_ACCEL config BMC150_ACCEL
tristate "Bosch BMC150 Accelerometer Driver" tristate "Bosch BMC150 Accelerometer Driver"
......
...@@ -390,7 +390,7 @@ config HX711 ...@@ -390,7 +390,7 @@ config HX711
This driver uses two GPIOs, one acts as the clock and controls the This driver uses two GPIOs, one acts as the clock and controls the
channel selection and gain, the other one is used for the measurement channel selection and gain, the other one is used for the measurement
data data
Currently the raw value is read from the chip and delivered. Currently the raw value is read from the chip and delivered.
To get an actual weight one needs to subtract the To get an actual weight one needs to subtract the
...@@ -585,17 +585,17 @@ config MCP3911 ...@@ -585,17 +585,17 @@ config MCP3911
called mcp3911. called mcp3911.
config MEDIATEK_MT6577_AUXADC config MEDIATEK_MT6577_AUXADC
tristate "MediaTek AUXADC driver" tristate "MediaTek AUXADC driver"
depends on ARCH_MEDIATEK || COMPILE_TEST depends on ARCH_MEDIATEK || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
Say yes here to enable support for MediaTek mt65xx AUXADC. Say yes here to enable support for MediaTek mt65xx AUXADC.
The driver supports immediate mode operation to read from one of sixteen The driver supports immediate mode operation to read from one of sixteen
channels (external or internal). channels (external or internal).
This driver can also be built as a module. If so, the module will be This driver can also be built as a module. If so, the module will be
called mt6577_auxadc. called mt6577_auxadc.
config MEN_Z188_ADC config MEN_Z188_ADC
tristate "MEN 16z188 ADC IP Core support" tristate "MEN 16z188 ADC IP Core support"
......
...@@ -12,14 +12,14 @@ config ATLAS_PH_SENSOR ...@@ -12,14 +12,14 @@ config ATLAS_PH_SENSOR
select IIO_TRIGGERED_BUFFER select IIO_TRIGGERED_BUFFER
select IRQ_WORK select IRQ_WORK
help help
Say Y here to build I2C interface support for the following Say Y here to build I2C interface support for the following
Atlas Scientific OEM SM sensors: Atlas Scientific OEM SM sensors:
* pH SM sensor * pH SM sensor
* EC SM sensor * EC SM sensor
* ORP SM sensor * ORP SM sensor
To compile this driver as module, choose M here: the To compile this driver as module, choose M here: the
module will be called atlas-ph-sensor. module will be called atlas-ph-sensor.
config BME680 config BME680
tristate "Bosch Sensortec BME680 sensor driver" tristate "Bosch Sensortec BME680 sensor driver"
...@@ -47,8 +47,8 @@ config BME680_SPI ...@@ -47,8 +47,8 @@ config BME680_SPI
config CCS811 config CCS811
tristate "AMS CCS811 VOC sensor" tristate "AMS CCS811 VOC sensor"
depends on I2C depends on I2C
select IIO_BUFFER select IIO_BUFFER
select IIO_TRIGGERED_BUFFER select IIO_TRIGGERED_BUFFER
help help
Say Y here to build I2C interface support for the AMS Say Y here to build I2C interface support for the AMS
CCS811 VOC (Volatile Organic Compounds) sensor CCS811 VOC (Volatile Organic Compounds) sensor
......
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
# #
config IIO_MS_SENSORS_I2C config IIO_MS_SENSORS_I2C
tristate tristate
...@@ -4,16 +4,16 @@ ...@@ -4,16 +4,16 @@
menu "Humidity sensors" menu "Humidity sensors"
config AM2315 config AM2315
tristate "Aosong AM2315 relative humidity and temperature sensor" tristate "Aosong AM2315 relative humidity and temperature sensor"
depends on I2C depends on I2C
select IIO_BUFFER select IIO_BUFFER
select IIO_TRIGGERED_BUFFER select IIO_TRIGGERED_BUFFER
help help
If you say yes here you get support for the Aosong AM2315 If you say yes here you get support for the Aosong AM2315
relative humidity and ambient temperature sensor. relative humidity and ambient temperature sensor.
This driver can also be built as a module. If so, the module will This driver can also be built as a module. If so, the module will
be called am2315. be called am2315.
config DHT11 config DHT11
tristate "DHT11 (and compatible sensors) driver" tristate "DHT11 (and compatible sensors) driver"
...@@ -78,7 +78,7 @@ config HTS221_SPI ...@@ -78,7 +78,7 @@ config HTS221_SPI
config HTU21 config HTU21
tristate "Measurement Specialties HTU21 humidity & temperature sensor" tristate "Measurement Specialties HTU21 humidity & temperature sensor"
depends on I2C depends on I2C
select IIO_MS_SENSORS_I2C select IIO_MS_SENSORS_I2C
help help
If you say yes here you get support for the Measurement Specialties If you say yes here you get support for the Measurement Specialties
HTU21 humidity and temperature sensor. HTU21 humidity and temperature sensor.
......
This diff is collapsed.
...@@ -26,26 +26,26 @@ config DS1803 ...@@ -26,26 +26,26 @@ config DS1803
module will be called ds1803. module will be called ds1803.
config MAX5481 config MAX5481
tristate "Maxim MAX5481-MAX5484 Digital Potentiometer driver" tristate "Maxim MAX5481-MAX5484 Digital Potentiometer driver"
depends on SPI depends on SPI
help help
Say yes here to build support for the Maxim Say yes here to build support for the Maxim
MAX5481, MAX5482, MAX5483, MAX5484 digital potentiometer MAX5481, MAX5482, MAX5483, MAX5484 digital potentiometer
chips. chips.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called max5481. module will be called max5481.
config MAX5487 config MAX5487
tristate "Maxim MAX5487/MAX5488/MAX5489 Digital Potentiometer driver" tristate "Maxim MAX5487/MAX5488/MAX5489 Digital Potentiometer driver"
depends on SPI depends on SPI
help help
Say yes here to build support for the Maxim Say yes here to build support for the Maxim
MAX5487, MAX5488, MAX5489 digital potentiometer MAX5487, MAX5488, MAX5489 digital potentiometer
chips. chips.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called max5487. module will be called max5487.
config MCP4018 config MCP4018
tristate "Microchip MCP4017/18/19 Digital Potentiometer driver" tristate "Microchip MCP4017/18/19 Digital Potentiometer driver"
......
...@@ -66,14 +66,14 @@ config TMP006 ...@@ -66,14 +66,14 @@ config TMP006
be called tmp006. be called tmp006.
config TMP007 config TMP007
tristate "TMP007 infrared thermopile sensor with Integrated Math Engine" tristate "TMP007 infrared thermopile sensor with Integrated Math Engine"
depends on I2C depends on I2C
help help
If you say yes here you get support for the Texas Instruments If you say yes here you get support for the Texas Instruments
TMP007 infrared thermopile sensor with Integrated Math Engine. TMP007 infrared thermopile sensor with Integrated Math Engine.
This driver can also be built as a module. If so, the module will This driver can also be built as a module. If so, the module will
be called tmp007. be called tmp007.
config TSYS01 config TSYS01
tristate "Measurement Specialties TSYS01 temperature sensor using I2C bus connection" tristate "Measurement Specialties TSYS01 temperature sensor using I2C bus connection"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment