diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-11-18 20:51:20 -0800 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-26 14:28:51 -0800 |
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 2064aefedc0..362e29e27db 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, unsigned long val; int ret; - ret = strict_strtoul(buf, 16, &val); + ret = kstrtoul(buf, 16, &val); if (ret) return ret; |