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:
057407c
)
leds: leds-lp5521: replace strict_strtoul() with kstrtoul()
author
Jingoo Han
<jg1.han@samsung.com>
Mon, 19 Nov 2012 04:51:20 +0000
(20:51 -0800)
committer
Bryan Wu
<cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:51 +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-lp5521.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/leds-lp5521.c
b/drivers/leds/leds-lp5521.c
index 2064aefedc0707fd7a6d78e85ded09dd441113a0..362e29e27db994cda6054dc704f348ac81c72804 100644
(file)
--- 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 =
k
strtoul(buf, 16, &val);
if (ret)
return ret;
This page took
0.024882 seconds
and
5
git commands to generate.