diff options
author | Richard Purdie | 2006-05-15 18:44:15 +0200 |
---|---|---|
committer | Linus Torvalds | 2006-05-15 20:20:56 +0200 |
commit | 68673afd443c5eeb4cebfb9026e3675f43d79f2b (patch) | |
tree | b8350ec63cee168284b35016aa097334c215d633 /crypto/wp512.c | |
parent | [PATCH] LED: Improve Kconfig information (diff) | |
download | kernel-qcow2-linux-68673afd443c5eeb4cebfb9026e3675f43d79f2b.tar.gz kernel-qcow2-linux-68673afd443c5eeb4cebfb9026e3675f43d79f2b.tar.xz kernel-qcow2-linux-68673afd443c5eeb4cebfb9026e3675f43d79f2b.zip |
[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 'crypto/wp512.c')
0 files changed, 0 insertions, 0 deletions