Commit 98a62bb7 authored by Mike Frysinger's avatar Mike Frysinger Committed by Greg Kroah-Hartman

Staging: iio: standardize kconfig/makefile spacing/style

Standardize the spacing/style across the IIO build files:
	- comment block in Kconfigs
	- newlines at ends of files
	- trailing lines at ends of files
	- indent with one tab, not spaces or mixed
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 00ac9ba0
...@@ -14,5 +14,4 @@ obj-y += adc/ ...@@ -14,5 +14,4 @@ obj-y += adc/
obj-y += gyro/ obj-y += gyro/
obj-y += imu/ obj-y += imu/
obj-y += light/ obj-y += light/
obj-y += trigger/
obj-y += trigger/
\ No newline at end of file
...@@ -4,29 +4,29 @@ ...@@ -4,29 +4,29 @@
comment "Accelerometers" comment "Accelerometers"
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_TRIGGER if IIO_RING_BUFFER select IIO_TRIGGER if IIO_RING_BUFFER
select IIO_SW_RING if IIO_RING_BUFFER select IIO_SW_RING if IIO_RING_BUFFER
help help
Say yes here to build support for Analog Devices adis16209 dual-axis digital inclinometer Say yes here to build support for Analog Devices adis16209 dual-axis digital inclinometer
and accelerometer. and accelerometer.
config ADIS16220 config ADIS16220
tristate "Analog Devices ADIS16220 Programmable Digital Vibration Sensor driver" tristate "Analog Devices ADIS16220 Programmable Digital Vibration Sensor"
depends on SPI depends on SPI
help help
Say yes here to build support for Analog Devices adis16220 programmable Say yes here to build support for Analog Devices adis16220 programmable
digital vibration sensor. digital vibration sensor.
config ADIS16240 config ADIS16240
tristate "Analog Devices ADIS16240 Programmable Impact Sensor and Recorder" tristate "Analog Devices ADIS16240 Programmable Impact Sensor and Recorder"
depends on SPI depends on SPI
select IIO_TRIGGER if IIO_RING_BUFFER select IIO_TRIGGER if IIO_RING_BUFFER
select IIO_SW_RING if IIO_RING_BUFFER select IIO_SW_RING if IIO_RING_BUFFER
help help
Say yes here to build support for Analog Devices adis16240 programmable Say yes here to build support for Analog Devices adis16240 programmable
impact Sensor and recorder. impact Sensor and recorder.
config KXSD9 config KXSD9
tristate "Kionix KXSD9 Accelerometer Driver" tristate "Kionix KXSD9 Accelerometer Driver"
...@@ -46,9 +46,9 @@ config LIS3L02DQ ...@@ -46,9 +46,9 @@ config LIS3L02DQ
and an event interface via a character device. and an event interface via a character device.
config SCA3000 config SCA3000
depends on IIO_RING_BUFFER depends on IIO_RING_BUFFER
depends on SPI depends on SPI
tristate "VTI SCA3000 series accelerometers" tristate "VTI SCA3000 series accelerometers"
help help
Say yes here to build support for the VTI SCA3000 series of SPI Say yes here to build support for the VTI SCA3000 series of SPI
accelerometers. These devices use a hardware ring buffer. accelerometers. These devices use a hardware ring buffer.
\ No newline at end of file
# #
# Makefile for industrial I/O accelerometer drivers # Makefile for industrial I/O accelerometer drivers
# #
adis16209-y := adis16209_core.o adis16209-y := adis16209_core.o
adis16209-$(CONFIG_IIO_RING_BUFFER) += adis16209_ring.o adis16209_trigger.o adis16209-$(CONFIG_IIO_RING_BUFFER) += adis16209_ring.o adis16209_trigger.o
obj-$(CONFIG_ADIS16209) += adis16209.o obj-$(CONFIG_ADIS16209) += adis16209.o
...@@ -19,4 +20,4 @@ lis3l02dq-$(CONFIG_IIO_RING_BUFFER) += lis3l02dq_ring.o ...@@ -19,4 +20,4 @@ lis3l02dq-$(CONFIG_IIO_RING_BUFFER) += lis3l02dq_ring.o
obj-$(CONFIG_LIS3L02DQ) += lis3l02dq.o obj-$(CONFIG_LIS3L02DQ) += lis3l02dq.o
sca3000-y := sca3000_core.o sca3000_ring.o sca3000-y := sca3000_core.o sca3000_ring.o
obj-$(CONFIG_SCA3000) += sca3000.o obj-$(CONFIG_SCA3000) += sca3000.o
\ No newline at end of file
#
# Makefile for industrial I/O ADC drivers # Makefile for industrial I/O ADC drivers
# #
......
#
# Makefile for digital gyroscope sensor drivers # Makefile for digital gyroscope sensor drivers
# #
......
...@@ -24,10 +24,10 @@ config ADIS16350 ...@@ -24,10 +24,10 @@ config ADIS16350
config ADIS16400 config ADIS16400
tristate "Analog Devices ADIS16400/5 IMU SPI driver" tristate "Analog Devices ADIS16400/5 IMU SPI driver"
depends on SPI depends on SPI
select IIO_SW_RING select IIO_SW_RING
select IIO_RING_BUFFER select IIO_RING_BUFFER
select IIO_TRIGGER select IIO_TRIGGER
help help
Say yes here to build support for Analog Devices adis16400/5 triaxial Say yes here to build support for Analog Devices adis16400/5 triaxial
inertial sensor with Magnetometer. inertial sensor with Magnetometer.
\ No newline at end of file
# #
# Makefile for Inertial Measurement Units # Makefile for Inertial Measurement Units
# #
adis16300-y := adis16300_core.o adis16300-y := adis16300_core.o
adis16300-$(CONFIG_IIO_RING_BUFFER) += adis16300_ring.o adis16300_trigger.o adis16300-$(CONFIG_IIO_RING_BUFFER) += adis16300_ring.o adis16300_trigger.o
obj-$(CONFIG_ADIS16300) += adis16300.o obj-$(CONFIG_ADIS16300) += adis16300.o
...@@ -11,4 +12,4 @@ obj-$(CONFIG_ADIS16350) += adis16350.o ...@@ -11,4 +12,4 @@ obj-$(CONFIG_ADIS16350) += adis16350.o
adis16400-y := adis16400_core.o adis16400-y := adis16400_core.o
adis16400-$(CONFIG_IIO_RING_BUFFER) += adis16400_ring.o adis16400_trigger.o adis16400-$(CONFIG_IIO_RING_BUFFER) += adis16400_ring.o adis16400_trigger.o
obj-$(CONFIG_ADIS16400) += adis16400.o obj-$(CONFIG_ADIS16400) += adis16400.o
\ No newline at end of file
...@@ -12,4 +12,3 @@ config SENSORS_TSL2563 ...@@ -12,4 +12,3 @@ config SENSORS_TSL2563
This driver can also be built as a module. If so, the module This driver can also be built as a module. If so, the module
will be called tsl2563. will be called tsl2563.
# #
# Makefile for triggers not associated with iio-devices # Makefile for triggers not associated with iio-devices
# #
obj-$(CONFIG_IIO_PERIODIC_RTC_TRIGGER) += iio-trig-periodic-rtc.o obj-$(CONFIG_IIO_PERIODIC_RTC_TRIGGER) += iio-trig-periodic-rtc.o
obj-$(CONFIG_IIO_GPIO_TRIGGER) += iio-trig-gpio.o obj-$(CONFIG_IIO_GPIO_TRIGGER) += iio-trig-gpio.o
\ No newline at end of file
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