Messages in this thread | | | Date | Fri, 27 Jan 2012 15:08:44 +0100 | Subject | Re: [PATCH 4/4] leds-lp5521: redefinition of register bits | From | Linus Walleij <> |
| |
On Sat, Jan 21, 2012 at 7:09 PM, Kim, Milo <Milo.Kim@ti.com> wrote:
> 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>
Looks like a good idea.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |