lkml.org 
[lkml]   [2012]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/4] leds-lp5521: add 'update_config' in the lp5521_platform_data
From
On Sat, Jan 21, 2012 at 7:09 PM, Kim, Milo <Milo.Kim@ti.com> wrote:

> 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 moved
> to the header file.
>
> Documentation updated : description about 'update_config' and example.
>
> Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>

Looks useful, plus you obviously was careful not to impact on
existing users, well done.

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Thanks,
Linus Walleij


\
 
 \ /
  Last update: 2012-01-27 15:07    [W:0.042 / U:1.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site