On Sun, Nov 18, 2012 at 8:51 PM, Jingoo Han <jg1.han@xxxxxxxxxxx> wrote: > The usage of strict_strtoul() is not preferred, because > strict_strtoul() is obsolete. Thus, kstrtoul() should be > used. > > Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx> Thanks, merged too, -Bryan > --- > drivers/leds/leds-lp5523.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/leds/leds-lp5523.c b/drivers/leds/leds-lp5523.c > index 4ddf7b4..59ec383 100644 > --- a/drivers/leds/leds-lp5523.c > +++ b/drivers/leds/leds-lp5523.c > @@ -710,7 +710,7 @@ static ssize_t store_current(struct device *dev, > ssize_t ret; > unsigned long curr; > > - if (strict_strtoul(buf, 0, &curr)) > + if (kstrtoul(buf, 0, &curr)) > return -EINVAL; > > if (curr > led->max_current) > -- > 1.7.2.5 > > -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html