ROM boundary definitions do not need to be exported because these are used only internally in the lp855x driver. And few code cosmetic changes
Unified · Split
| @@ -17,8 +17,12 @@ · 16 unmodified lines | |||
| 17 | #include <linux/lp855x.h> | 17 | #include <linux/lp855x.h> |
| 18 | 18 | ||
| 19 | /* Registers */ | 19 | /* Registers */ |
| 20 | #define BRIGHTNESS_CTRL (0x00) | 20 | #define BRIGHTNESS_CTRL 0x00 |
| 21 | #define DEVICE_CTRL (0x01) | 21 | #define DEVICE_CTRL 0x01 |
| 22 | #define EEPROM_START 0xA0 | ||
| 23 | #define EEPROM_END 0xA7 | ||
| 24 | #define EPROM_START 0xA0 | ||
| 25 | #define EPROM_END 0xAF | ||
| 22 | 26 | ||
| 23 | #define BUF_SIZE 20 | 27 | #define BUF_SIZE 20 |
| 24 | #define DEFAULT_BL_NAME "lcd-backlight" | 28 | #define DEFAULT_BL_NAME "lcd-backlight" |
| @@ -47,12 +47,6 @@ · 46 unmodified lines | |||
| 47 | (LP8556_I2C_ONLY << BRT_MODE_SHFT)) | 47 | (LP8556_I2C_ONLY << BRT_MODE_SHFT)) |
| 48 | #define LP8556_COMB2_CONFIG (LP8556_COMBINED2 << BRT_MODE_SHFT) | 48 | #define LP8556_COMB2_CONFIG (LP8556_COMBINED2 << BRT_MODE_SHFT) |
| 49 | 49 | ||
| 50 | /* ROM area boundary */ | ||
| 51 | #define EEPROM_START (0xA0) | ||
| 52 | #define EEPROM_END (0xA7) | ||
| 53 | #define EPROM_START (0xA0) | ||
| 54 | #define EPROM_END (0xAF) | ||
| 55 | |||
| 56 | enum lp855x_chip_id { | 50 | enum lp855x_chip_id { |
| 57 | LP8550, | 51 | LP8550, |
| 58 | LP8551, | 52 | LP8551, |