diff options
| author | Kim, Milo <[email protected]> | 2012-03-23 15:02:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-03-23 16:58:34 -0700 |
| commit | 3b49aacd0e56d5bf1b511f6554f17cd65eb8da64 (patch) | |
| tree | 22da84acf260e760e68006afa03346342a518f84 /scripts/objdiff | |
| parent | 5ae4e8a77dc82afcfe8460168ec0b94f4b79a54a (diff) | |
drivers/leds/leds-lp5521.c: add 'update_config' in the lp5521_platform_data
The value of CONFIG register(Addr 08h) is configurable. For supporting
this feature, update_config is added in the platform data. If
'update_config' is not defined, the default value is 'LP5521_PWRSAVE_EN |
LP5521_CP_MODE_AUTO | LP5521_R_TO_BATT'.
To define CONFIG register in the platform data, the bit definitions were
mo= ved to the header file.
Documentation updated : description about 'update_config' and example.
Signed-off-by: Milo(Woogyom) Kim <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Cc: Arun MURTHY <[email protected]>
Cc: Srinidhi Kasagar <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions