]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
backlight: move register definitions from header to source
authorKim, Milo <Milo.Kim@ti.com>
Sat, 21 Jul 2012 00:54:50 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:53:17 +0000 (13:53 +1000)
ROM boundary definitions are no need to be exported because these are used
= only in lp855x driver internally.

And few code cosmetic changes

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Bryan Wu <bryan.wu@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/lp855x_bl.c
include/linux/lp855x.h

index 72a0e0c917cf3246ecf21d0b2bed41b9c3b502b3..3d24314bc4e14ac76078ee1de25f23dbdfba7394 100644 (file)
 #include <linux/lp855x.h>
 
 /* Registers */
-#define BRIGHTNESS_CTRL                (0x00)
-#define DEVICE_CTRL            (0x01)
+#define BRIGHTNESS_CTRL                0x00
+#define DEVICE_CTRL            0x01
+#define EEPROM_START           0xA0
+#define EEPROM_END             0xA7
+#define EPROM_START            0xA0
+#define EPROM_END              0xAF
 
 #define BUF_SIZE               20
 #define DEFAULT_BL_NAME                "lcd-backlight"
index 781a490a451b556168a0ab02c20b9e59d45c4018..cc76f1f18f18fc88b2c8cceb94901eb3976733ae 100644 (file)
                                (LP8556_I2C_ONLY << BRT_MODE_SHFT))
 #define LP8556_COMB2_CONFIG    (LP8556_COMBINED2 << BRT_MODE_SHFT)
 
-/* ROM area boundary */
-#define EEPROM_START   (0xA0)
-#define EEPROM_END     (0xA7)
-#define EPROM_START    (0xA0)
-#define EPROM_END      (0xAF)
-
 enum lp855x_chip_id {
        LP8550,
        LP8551,