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
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 2027#define BUF_SIZE 20
24#define DEFAULT_BL_NAME "lcd-backlight"28#define DEFAULT_BL_NAME "lcd-backlight"
include/linux/lp855x.h+0−6
@@ -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
56enum lp855x_chip_id {50enum lp855x_chip_id {
57 LP8550,51 LP8550,
58 LP8551,52 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