commit | 68673afd443c5eeb4cebfb9026e3675f43d79f2b | [log] [tgz] |
---|---|---|
author | Richard Purdie <rpurdie@rpsys.net> | Mon May 15 09:44:15 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon May 15 11:20:56 2006 -0700 |
tree | b8350ec63cee168284b35016aa097334c215d633 | |
parent | a8d2e7d95229db9999682113bfac40b49978f212 [diff] |
[PATCH] Backlight/LCD Class: Fix sysfs _store error handling The backlight and LCD class _store functions currently accept values like "34 some random strings" without error. 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>