summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-11-18 20:51:20 -0800
committerBryan Wu <cooloney@gmail.com>2012-11-26 14:28:51 -0800
commit69b44c1630b7f618c9dec217d5497744224d90b8 (patch)
tree09484d0a2432bd033adb616c7a3cccfc6dab95e1 /drivers/leds
parent057407c732b7761cf417a1e6633a02d9d473340d (diff)
downloadop-kernel-dev-69b44c1630b7f618c9dec217d5497744224d90b8.zip
op-kernel-dev-69b44c1630b7f618c9dec217d5497744224d90b8.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-lp5521.c b/drivers/leds/leds-lp5521.c
index 2064aef..362e29e 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;
OpenPOWER on IntegriCloud