git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tree-wide: convert open calls to remove spaces to skip_spaces() lib function
[safe/jmp/linux-2.6]
/
drivers
/
leds
/
led-class.c
diff --git
a/drivers/leds/led-class.c
b/drivers/leds/led-class.c
index
f2cc13d
..
782f958
100644
(file)
--- a/
drivers/leds/led-class.c
+++ b/
drivers/leds/led-class.c
@@
-50,7
+50,7
@@
static ssize_t led_brightness_store(struct device *dev,
unsigned long state = simple_strtoul(buf, &after, 10);
size_t count = after - buf;
- if (
*after &&
isspace(*after))
+ if (isspace(*after))
count++;
if (count == size) {