projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd80fc7
)
leds: leds-netxbig: replace strict_strtoul() with kstrtoul()
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 23 Oct 2012 12:24:33 +0000
(
05:24
-0700)
committer
Bryan Wu
<cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:47 +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-netxbig.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-netxbig.c
b/drivers/leds/leds-netxbig.c
index
461bbf9
..
c4b482b
100644
(file)
--- 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 =
k
strtoul(buff, 10, &enable);
if (ret < 0)
return ret;