diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2012-03-23 15:02:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 16:58:34 -0700 |
commit | 32a2f747ddf58b0f9ad786c4f3853b1ca7750cf9 (patch) | |
tree | 981798d42d5ab757e31482174be8359d60b78cf7 /scripts | |
parent | 011af7bc7cd188a0310e2d26cdc2cc5d90148b0c (diff) | |
download | linux-32a2f747ddf58b0f9ad786c4f3853b1ca7750cf9.tar.gz linux-32a2f747ddf58b0f9ad786c4f3853b1ca7750cf9.tar.bz2 linux-32a2f747ddf58b0f9ad786c4f3853b1ca7750cf9.zip |
drivers/leds/leds-lp5521.c: redefinition of register bits
For better readability, values of LP5521_REG_ENABLE register were
redefined= . Additional definitions: LP5521_ENABLE_DEFAULT and
LP5521_ENABLE_RUN_PROGRAM= .
Use definition rather than hard code value.
: 0x3F -> 'LP5521_CMD_DIRECT'
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Arun MURTHY <arun.murthy@stericsson.com>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions