Skip to contentSkip to conversation

staging: iio: standardize kconfig/makefile spacing/style

PATCH In review Mike Frysinger 2 participants 2 messages May 23, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 drivers/staging/iio/Makefile         |    3 +-
 drivers/staging/iio/accel/Kconfig    |   50 +++++++++++++++++-----------------
 drivers/staging/iio/accel/Makefile   |    3 +-
 drivers/staging/iio/adc/Makefile     |    2 +-
 drivers/staging/iio/gyro/Makefile    |    2 +-
 drivers/staging/iio/imu/Kconfig      |    8 +++---
 drivers/staging/iio/imu/Makefile     |    3 +-
 drivers/staging/iio/light/Kconfig    |    1 -
 drivers/staging/iio/trigger/Makefile |    3 +-
 9 files changed, 38 insertions(+), 37 deletions(-)
drivers/staging/iio/Makefile +1 -2
index 3502b39..fff717e 100644
@@ -14,5 +14,4 @@ obj-y += adc/
 obj-y += gyro/
 obj-y += imu/
 obj-y += light/
-
-obj-y += trigger/
\ No newline at end of file
+obj-y += trigger/
drivers/staging/iio/accel/Kconfig +25 -25

64 lines not on this page · raw message

drivers/staging/iio/accel/Makefile +2 -1
index c34b136..ff84703 100644
@@ -1,6 +1,7 @@
 #
 # Makefile for industrial I/O accelerometer drivers
 #
+
 adis16209-y             := adis16209_core.o
 adis16209-$(CONFIG_IIO_RING_BUFFER) += adis16209_ring.o adis16209_trigger.o
 obj-$(CONFIG_ADIS16209) += adis16209.o
@@ -19,4 +20,4 @@ lis3l02dq-$(CONFIG_IIO_RING_BUFFER) += lis3l02dq_ring.o
 obj-$(CONFIG_LIS3L02DQ)	+= lis3l02dq.o
 
 sca3000-y		:= sca3000_core.o sca3000_ring.o
-obj-$(CONFIG_SCA3000)	+= sca3000.o
\ No newline at end of file
+obj-$(CONFIG_SCA3000)	+= sca3000.o
drivers/staging/iio/adc/Makefile +1 -1
index 18c9376..688510f 100644
@@ -1,4 +1,4 @@
-
+#
 # Makefile for industrial I/O ADC drivers
 #
 
drivers/staging/iio/gyro/Makefile +1 -1
index 6d2c547..b5f0dc0 100644
@@ -1,4 +1,4 @@
-
+#
 # Makefile for digital gyroscope sensor drivers
 #
 
drivers/staging/iio/imu/Kconfig +4 -4
index 6308d6f..48a712e 100644
@@ -24,10 +24,10 @@ config ADIS16350
 
 config ADIS16400
 	tristate "Analog Devices ADIS16400/5 IMU SPI driver"
- 	depends on SPI
+	depends on SPI
 	select IIO_SW_RING
 	select IIO_RING_BUFFER
 	select IIO_TRIGGER
- 	help
- 	  Say yes here to build support for Analog Devices adis16400/5 triaxial
- 	  inertial sensor with Magnetometer.
\ No newline at end of file
+	help
+	  Say yes here to build support for Analog Devices adis16400/5 triaxial
+	  inertial sensor with Magnetometer.
drivers/staging/iio/imu/Makefile +2 -1
index 31df735..f3b450b 100644
@@ -1,6 +1,7 @@
 #
 # Makefile for Inertial Measurement Units
 #
+
 adis16300-y             := adis16300_core.o
 adis16300-$(CONFIG_IIO_RING_BUFFER) += adis16300_ring.o adis16300_trigger.o
 obj-$(CONFIG_ADIS16300) += adis16300.o
@@ -11,4 +12,4 @@ obj-$(CONFIG_ADIS16350) += adis16350.o
 
 adis16400-y             := adis16400_core.o
 adis16400-$(CONFIG_IIO_RING_BUFFER) += adis16400_ring.o adis16400_trigger.o
-obj-$(CONFIG_ADIS16400) += adis16400.o
\ No newline at end of file
+obj-$(CONFIG_ADIS16400) += adis16400.o
drivers/staging/iio/light/Kconfig +0 -1
index 80cb6e5..3ddc478 100644
@@ -12,4 +12,3 @@ config SENSORS_TSL2563
 
 	 This driver can also be built as a module.  If so, the module
 	 will be called tsl2563.
-
drivers/staging/iio/trigger/Makefile +2 -1
index e5f96d2..10aeca5 100644
@@ -1,5 +1,6 @@
 #
 # Makefile for triggers not associated with iio-devices
 #
+
 obj-$(CONFIG_IIO_PERIODIC_RTC_TRIGGER) += iio-trig-periodic-rtc.o
-obj-$(CONFIG_IIO_GPIO_TRIGGER) += iio-trig-gpio.o
\ No newline at end of file
+obj-$(CONFIG_IIO_GPIO_TRIGGER) += iio-trig-gpio.o
Signature · 1 line
1.7.1