Richard Purdie 68673afd44 [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>
2006-05-15 11:20:56 -07:00
..
2006-04-19 09:13:54 -07:00
2006-03-27 08:44:56 -08:00
2006-03-29 13:24:50 +11:00
2006-03-29 13:24:50 +11:00
2006-03-29 13:24:50 +11:00
2005-04-16 15:20:36 -07:00
2005-10-29 19:31:01 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-24 18:53:18 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-24 18:53:18 +01:00
2005-04-16 15:20:36 -07:00
2006-01-12 09:09:05 -08:00
2005-04-16 15:20:36 -07:00
2006-03-25 08:22:52 -08:00
2006-03-31 12:19:00 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-02-15 10:13:02 +00:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-17 15:53:11 -08:00
2005-04-16 15:20:36 -07:00
2006-03-11 09:19:36 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00