Re: [PATCH 2/4] leds-lp5521: add 'update_config' in the lp5521_platform_data

From: Linus Walleij
Date: Fri Jan 27 2012 - 09:05:39 EST


On Sat, Jan 21, 2012 at 7:09 PM, Kim, Milo <Milo.Kim@xxxxxx> 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@xxxxxx>

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

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

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/