History

backlight: move register definitions from header to source

ROM boundary definitions do not need to be exported because these are used only internally in the lp855x driver. And few code cosmetic changes

Kim, Milo committed 14 years ago

Commit a1fcb2e1 parent 62a5c072 files · +6 −8Browse files

Unified · Split

2 files
  1. drivers/video/backlight/lp855x_bl.c +6 −2
  2. include/linux/lp855x.h +0 −6
drivers/video/backlight/lp855x_bl.c+6−2
@@ -17,8 +17,12 @@ · 16 unmodified lines
1717 #include <linux/lp855x.h>
1818
1919 /* Registers */
20−#define BRIGHTNESS_CTRL (0x00)
21−#define DEVICE_CTRL (0x01)
20+#define BRIGHTNESS_CTRL 0x00
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
2226
2327 #define BUF_SIZE 20
2428 #define DEFAULT_BL_NAME "lcd-backlight"
include/linux/lp855x.h+0−6
@@ -47,12 +47,6 @@ · 46 unmodified lines
4747 (LP8556_I2C_ONLY << BRT_MODE_SHFT))
4848 #define LP8556_COMB2_CONFIG (LP8556_COMBINED2 << BRT_MODE_SHFT)
4949
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−
5650 enum lp855x_chip_id {
5751 LP8550,
5852 LP8551,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t