Title: [8432] trunk: adp8860/70: fix whitespace damage
Revision
8432
Author
vapier
Date
2010-03-09 10:42:31 -0500 (Tue, 09 Mar 2010)

Log Message

adp8860/70: fix whitespace damage

Modified Paths


Diff

Modified: trunk/drivers/video/backlight/Makefile (8431 => 8432)


--- trunk/drivers/video/backlight/Makefile	2010-03-09 13:40:12 UTC (rev 8431)
+++ trunk/drivers/video/backlight/Makefile	2010-03-09 15:42:31 UTC (rev 8432)
@@ -30,4 +30,3 @@
 obj-$(CONFIG_BACKLIGHT_ADP5520)	+= adp5520_bl.o
 obj-$(CONFIG_BACKLIGHT_ADP8860)	+= adp8860_bl.o
 obj-$(CONFIG_BACKLIGHT_ADP8870)	+= adp8870_bl.o
-

Modified: trunk/drivers/video/backlight/adp8860_bl.c (8431 => 8432)


--- trunk/drivers/video/backlight/adp8860_bl.c	2010-03-09 13:40:12 UTC (rev 8431)
+++ trunk/drivers/video/backlight/adp8860_bl.c	2010-03-09 15:42:31 UTC (rev 8432)
@@ -88,7 +88,7 @@
 struct adp8860_led {
 	struct led_classdev	cdev;
 	struct work_struct	work;
-	struct i2c_client 	*client;
+	struct i2c_client	*client;
 	enum led_brightness	new_brightness;
 	int			id;
 	int			flags;

Modified: trunk/drivers/video/backlight/adp8870_bl.c (8431 => 8432)


--- trunk/drivers/video/backlight/adp8870_bl.c	2010-03-09 13:40:12 UTC (rev 8431)
+++ trunk/drivers/video/backlight/adp8870_bl.c	2010-03-09 15:42:31 UTC (rev 8432)
@@ -120,7 +120,7 @@
 struct adp8870_led {
 	struct led_classdev	cdev;
 	struct work_struct	work;
-	struct i2c_client 	*client;
+	struct i2c_client	*client;
 	enum led_brightness	new_brightness;
 	int			id;
 	int			flags;

Modified: trunk/include/linux/i2c/adp8860.h (8431 => 8432)


--- trunk/include/linux/i2c/adp8860.h	2010-03-09 13:40:12 UTC (rev 8431)
+++ trunk/include/linux/i2c/adp8860.h	2010-03-09 15:42:31 UTC (rev 8432)
@@ -2,7 +2,7 @@
  * Definitions and platform data for Analog Devices
  * Backlight drivers ADP8860
  *
- * Copyright 2010 Analog Devices Inc.
+ * Copyright 2009-2010 Analog Devices Inc.
  *
  * Licensed under the GPL-2 or later.
  */
@@ -10,6 +10,9 @@
 #ifndef __LINUX_I2C_ADP8860_H
 #define __LINUX_I2C_ADP8860_H
 
+#include <linux/leds.h>
+#include <linux/types.h>
+
 #define ID_ADP8860		8860
 
 #define ADP8860_MAX_BRIGHTNESS	0x7F
@@ -66,33 +69,33 @@
 #define ADP8860_FADE_T_5000ms	14
 #define ADP8860_FADE_T_5500ms	15	/* 5.5 Sec */
 
-#define ADP8860_FADE_LAW_LINEAR 	0
-#define ADP8860_FADE_LAW_SQUARE 	1
-#define ADP8860_FADE_LAW_CUBIC1 	2
-#define ADP8860_FADE_LAW_CUBIC2 	3
+#define ADP8860_FADE_LAW_LINEAR	0
+#define ADP8860_FADE_LAW_SQUARE	1
+#define ADP8860_FADE_LAW_CUBIC1	2
+#define ADP8860_FADE_LAW_CUBIC2	3
 
-#define ADP8860_BL_AMBL_FILT_80ms 	0	/* Light sensor filter time */
-#define ADP8860_BL_AMBL_FILT_160ms 	1
-#define ADP8860_BL_AMBL_FILT_320ms 	2
-#define ADP8860_BL_AMBL_FILT_640ms 	3
-#define ADP8860_BL_AMBL_FILT_1280ms 	4
-#define ADP8860_BL_AMBL_FILT_2560ms 	5
-#define ADP8860_BL_AMBL_FILT_5120ms 	6
-#define ADP8860_BL_AMBL_FILT_10240ms 	7	/* 10.24 sec */
+#define ADP8860_BL_AMBL_FILT_80ms	0	/* Light sensor filter time */
+#define ADP8860_BL_AMBL_FILT_160ms	1
+#define ADP8860_BL_AMBL_FILT_320ms	2
+#define ADP8860_BL_AMBL_FILT_640ms	3
+#define ADP8860_BL_AMBL_FILT_1280ms	4
+#define ADP8860_BL_AMBL_FILT_2560ms	5
+#define ADP8860_BL_AMBL_FILT_5120ms	6
+#define ADP8860_BL_AMBL_FILT_10240ms	7	/* 10.24 sec */
 
-	/*
-	 * Blacklight current 0..30mA
-	 */
+/*
+ * Blacklight current 0..30mA
+ */
 #define ADP8860_BL_CUR_mA(I)		((I * 127) / 30)
 
-	/*
-	 * L2 comparator current 0..1106uA
-	 */
+/*
+ * L2 comparator current 0..1106uA
+ */
 #define ADP8860_L2_COMP_CURR_uA(I)	((I * 255) / 1106)
 
-	/*
-	 * L3 comparator current 0..138uA
-	 */
+/*
+ * L3 comparator current 0..138uA
+ */
 #define ADP8860_L3_COMP_CURR_uA(I)	((I * 255) / 138)
 
 struct adp8860_backlight_platform_data {

Modified: trunk/include/linux/i2c/adp8870.h (8431 => 8432)


--- trunk/include/linux/i2c/adp8870.h	2010-03-09 13:40:12 UTC (rev 8431)
+++ trunk/include/linux/i2c/adp8870.h	2010-03-09 15:42:31 UTC (rev 8432)
@@ -2,7 +2,7 @@
  * Definitions and platform data for Analog Devices
  * Backlight drivers ADP8870
  *
- * Copyright 2009 Analog Devices Inc.
+ * Copyright 2009-2010 Analog Devices Inc.
  *
  * Licensed under the GPL-2 or later.
  */
@@ -66,43 +66,43 @@
 #define ADP8870_FADE_T_5000ms	14
 #define ADP8870_FADE_T_5500ms	15	/* 5.5 Sec */
 
-#define ADP8870_FADE_LAW_LINEAR 	0
-#define ADP8870_FADE_LAW_SQUARE 	1
-#define ADP8870_FADE_LAW_CUBIC1 	2
-#define ADP8870_FADE_LAW_CUBIC2 	3
+#define ADP8870_FADE_LAW_LINEAR	0
+#define ADP8870_FADE_LAW_SQUARE	1
+#define ADP8870_FADE_LAW_CUBIC1	2
+#define ADP8870_FADE_LAW_CUBIC2	3
 
-#define ADP8870_BL_AMBL_FILT_80ms 	0	/* Light sensor filter time */
-#define ADP8870_BL_AMBL_FILT_160ms 	1
-#define ADP8870_BL_AMBL_FILT_320ms 	2
-#define ADP8870_BL_AMBL_FILT_640ms 	3
-#define ADP8870_BL_AMBL_FILT_1280ms 	4
-#define ADP8870_BL_AMBL_FILT_2560ms 	5
-#define ADP8870_BL_AMBL_FILT_5120ms 	6
-#define ADP8870_BL_AMBL_FILT_10240ms 	7	/* 10.24 sec */
+#define ADP8870_BL_AMBL_FILT_80ms	0	/* Light sensor filter time */
+#define ADP8870_BL_AMBL_FILT_160ms	1
+#define ADP8870_BL_AMBL_FILT_320ms	2
+#define ADP8870_BL_AMBL_FILT_640ms	3
+#define ADP8870_BL_AMBL_FILT_1280ms	4
+#define ADP8870_BL_AMBL_FILT_2560ms	5
+#define ADP8870_BL_AMBL_FILT_5120ms	6
+#define ADP8870_BL_AMBL_FILT_10240ms	7	/* 10.24 sec */
 
-	/*
-	 * Blacklight current 0..30mA
-	 */
+/*
+ * Blacklight current 0..30mA
+ */
 #define ADP8870_BL_CUR_mA(I)		((I * 127) / 30)
 
-	/*
-	 * L2 comparator current 0..1106uA
-	 */
+/*
+ * L2 comparator current 0..1106uA
+ */
 #define ADP8870_L2_COMP_CURR_uA(I)	((I * 255) / 1106)
 
-	/*
-	 * L3 comparator current 0..551uA
-	 */
+/*
+ * L3 comparator current 0..551uA
+ */
 #define ADP8870_L3_COMP_CURR_uA(I)	((I * 255) / 551)
 
-	/*
-	 * L4 comparator current 0..275uA
-	 */
+/*
+ * L4 comparator current 0..275uA
+ */
 #define ADP8870_L4_COMP_CURR_uA(I)	((I * 255) / 275)
 
-	/*
-	 * L5 comparator current 0..138uA
-	 */
+/*
+ * L5 comparator current 0..138uA
+ */
 #define ADP8870_L5_COMP_CURR_uA(I)	((I * 255) / 138)
 
 struct adp8870_backlight_platform_data {
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to