summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-netxbig.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-10-23 16:24:33 +0400
committerBryan Wu <cooloney@gmail.com>2012-11-27 02:28:47 +0400
commit7517611a4c301a362d3e3d4f7357881ea3db5385 (patch)
tree20f992adf45035a947d32c11e1b39d797cb7e449 /drivers/leds/leds-netxbig.c
parentfd80fc762c58411d5e64836dd778052df0f99d4e (diff)
downloadlinux-7517611a4c301a362d3e3d4f7357881ea3db5385.tar.xz
leds: leds-netxbig: 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/leds-netxbig.c')
-rw-r--r--drivers/leds/leds-netxbig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-netxbig.c b/drivers/leds/leds-netxbig.c
index 461bbf9b33fa..c4b482b8f7da 100644
--- a/drivers/leds/leds-netxbig.c
+++ b/drivers/leds/leds-netxbig.c
@@ -243,7 +243,7 @@ static ssize_t netxbig_led_sata_store(struct device *dev,
int mode_val;
int ret;
- ret = strict_strtoul(buff, 10, &enable);
+ ret = kstrtoul(buff, 10, &enable);
if (ret < 0)
return ret;