aboutsummaryrefslogtreecommitdiff
path: root/drivers/leds/leds-ss4200.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-10-23 05:26:09 -0700
committerBryan Wu <cooloney@gmail.com>2012-11-26 14:28:48 -0800
commitd3b6492afada275d2e33b81a8a3737c9cb0016a4 (patch)
tree69faf8f47e3d11a48a6c9b25dae0eb84ac749294 /drivers/leds/leds-ss4200.c
parent3874350c598d7796a6dd2da111247be88e56d002 (diff)
leds: leds-ss4200: 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-ss4200.c')
-rw-r--r--drivers/leds/leds-ss4200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-ss4200.c b/drivers/leds/leds-ss4200.c
index 57371e1485a..758c55fa0c0 100644
--- a/drivers/leds/leds-ss4200.c
+++ b/drivers/leds/leds-ss4200.c
@@ -459,7 +459,7 @@ static ssize_t nas_led_blink_store(struct device *dev,
struct led_classdev *led = dev_get_drvdata(dev);
unsigned long blink_state;
- ret = strict_strtoul(buf, 10, &blink_state);
+ ret = kstrtoul(buf, 10, &blink_state);
if (ret)
return ret;