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:
d3b6492
)
leds: ledtrig-backlight: replace strict_strtoul() with kstrtoul()
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 23 Oct 2012 12:26:56 +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/ledtrig-backlight.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/ledtrig-backlight.c
b/drivers/leds/ledtrig-backlight.c
index b941685f222740970911b5fbbf93161304e76a37..c74aff1fe70b37c5b64594b2bd6a83bf28626d91 100644
(file)
--- a/
drivers/leds/ledtrig-backlight.c
+++ b/
drivers/leds/ledtrig-backlight.c
@@
-76,7
+76,7
@@
static ssize_t bl_trig_invert_store(struct device *dev,
unsigned long invert;
int ret;
- ret =
strict_
strtoul(buf, 10, &invert);
+ ret =
k
strtoul(buf, 10, &invert);
if (ret < 0)
return ret;
This page took
0.025246 seconds
and
5
git commands to generate.