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
/
video
/
display
/
display-sysfs.c
diff --git
a/drivers/video/display/display-sysfs.c
b/drivers/video/display/display-sysfs.c
index
4830b1b
..
80abbf3
100644
(file)
--- a/
drivers/video/display/display-sysfs.c
+++ b/
drivers/video/display/display-sysfs.c
@@
-67,7
+67,7
@@
static ssize_t display_store_contrast(struct device *dev,
contrast = simple_strtoul(buf, &endp, 0);
size = endp - buf;
- if (
*endp &&
isspace(*endp))
+ if (isspace(*endp))
size++;
if (size != count)