staging: iio: tsl2583: fix alignment of #define values
authorBrian Masney <masneyb@onstation.org>
Sat, 12 Nov 2016 18:19:24 +0000 (13:19 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 13 Nov 2016 13:07:22 +0000 (13:07 +0000)
Most of the values in the #defines have their values aligned on a single
column, but some do not. This changes the remaining defines to use
consistent alignment with the majority to improve code readability.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2583.c

index 5a82a26149589c23e627021d4ca24c8a87ea7278..7e4347a1235e89c7ca0d6306dfdef5072c77b107 100644 (file)
 /* tsl2583 cmd reg masks */
 #define TSL2583_CMD_REG                        0x80
 #define TSL2583_CMD_SPL_FN             0x60
-#define TSL2583_CMD_ALS_INT_CLR        0X01
+#define TSL2583_CMD_ALS_INT_CLR                0x01
 
 /* tsl2583 cntrl reg masks */
-#define TSL2583_CNTL_ADC_ENBL  0x02
+#define TSL2583_CNTL_ADC_ENBL          0x02
 #define TSL2583_CNTL_PWR_OFF           0x00
 #define TSL2583_CNTL_PWR_ON            0x01
 
 /* tsl2583 status reg masks */
-#define TSL2583_STA_ADC_VALID  0x01
-#define TSL2583_STA_ADC_INTR   0x10
+#define TSL2583_STA_ADC_VALID          0x01
+#define TSL2583_STA_ADC_INTR           0x10
 
 /* Lux calculation constants */
-#define        TSL2583_LUX_CALC_OVER_FLOW              65535
+#define TSL2583_LUX_CALC_OVER_FLOW     65535
 
 #define TSL2583_INTERRUPT_DISABLED     0x00