diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-05-15 12:44:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-15 14:20:56 -0400 |
commit | 3dc7b82ea7649356bf027fba50c16ca50cec31e2 (patch) | |
tree | 52bb14b8021c851d6cbd765f74aafa6c33ea631e /drivers/leds/leds-tosa.c | |
parent | 263de9b582b0f9b6ad5a0651b7df884fe80d6c3c (diff) |
[PATCH] LED: Fix sysfs store function error handling
Fix the error handling of some LED _store functions. This corrects them to
return -EINVAL if the value is not numeric with an optional byte of trailing
whitespace.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/leds/leds-tosa.c')
0 files changed, 0 insertions, 0 deletions