diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-11-18 23:51:20 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-26 17:28:51 -0500 |
commit | 69b44c1630b7f618c9dec217d5497744224d90b8 (patch) | |
tree | 09484d0a2432bd033adb616c7a3cccfc6dab95e1 /drivers/leds | |
parent | 057407c732b7761cf417a1e6633a02d9d473340d (diff) |
leds: leds-lp5521: replace strict_strtoul() with kstrtoul()
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@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-lp5521.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-lp5521.c b/drivers/leds/leds-lp5521.c index 2064aefedc07..362e29e27db9 100644 --- a/drivers/leds/leds-lp5521.c +++ b/drivers/leds/leds-lp5521.c | |||
@@ -616,7 +616,7 @@ static ssize_t store_led_pattern(struct device *dev, | |||
616 | unsigned long val; | 616 | unsigned long val; |
617 | int ret; | 617 | int ret; |
618 | 618 | ||
619 | ret = strict_strtoul(buf, 16, &val); | 619 | ret = kstrtoul(buf, 16, &val); |
620 | if (ret) | 620 | if (ret) |
621 | return ret; | 621 | return ret; |
622 | 622 | ||