projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3874350
)
leds: leds-ss4200: replace strict_strtoul() with kstrtoul()
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 23 Oct 2012 12:26:09 +0000
(
05:26
-0700)
committer
Bryan Wu
<cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:48 +0000
(14:28 -0800)
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>
drivers/leds/leds-ss4200.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/leds-ss4200.c
b/drivers/leds/leds-ss4200.c
index 57371e1485ab4e14aaba55ca3ae10e81b52caff6..758c55fa0c0d265a84f247edbdca09f47401901e 100644
(file)
--- 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 =
k
strtoul(buf, 10, &blink_state);
if (ret)
return ret;
This page took
0.02549 seconds
and
5
git commands to generate.