summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-11-19 04:51:20 (GMT)
committerBryan Wu <cooloney@gmail.com>2012-11-26 22:28:51 (GMT)
commit69b44c1630b7f618c9dec217d5497744224d90b8 (patch)
tree09484d0a2432bd033adb616c7a3cccfc6dab95e1
parent057407c732b7761cf417a1e6633a02d9d473340d (diff)
downloadlinux-fsl-qoriq-69b44c1630b7f618c9dec217d5497744224d90b8.tar.xz
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>
-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;