Messages in this thread | | | Date | Fri, 27 Jan 2012 15:05:40 +0100 | Subject | Re: [PATCH 2/4] leds-lp5521: add 'update_config' in the lp5521_platform_data | From | Linus Walleij <> |
| |
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
| |