summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-05-15 09:44:15 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-05-15 11:20:56 -0700
commit68673afd443c5eeb4cebfb9026e3675f43d79f2b (patch)
treeb8350ec63cee168284b35016aa097334c215d633 /drivers/leds
parenta8d2e7d95229db9999682113bfac40b49978f212 (diff)
downloadop-kernel-dev-68673afd443c5eeb4cebfb9026e3675f43d79f2b.zip
op-kernel-dev-68673afd443c5eeb4cebfb9026e3675f43d79f2b.tar.gz
[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>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud