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-05-15 11:20:56 -07:00
2006-03-31 12:19:00 -08:00
2006-03-27 08:44:55 -08:00
2006-03-27 08:44:56 -08:00
2006-04-30 23:59:16 +02: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
2006-04-19 09:13:54 -07:00
2006-03-27 08:44:58 -08:00
2006-03-27 08:44:58 -08:00
2006-03-27 08:44:58 -08:00
2006-04-29 17:05:11 -07:00
2006-03-27 08:44:55 -08:00
2006-03-24 18:53:18 +01:00
2006-03-31 12:19:00 -08:00
2006-03-27 08:44:58 -08:00
2006-03-28 23:15:54 +11:00
2006-03-27 08:44:56 -08:00
2006-04-19 09:13:54 -07:00
2006-03-27 08:44:55 -08:00
2006-04-27 13:08:56 -07:00
2006-03-24 18:53:18 +01:00
2006-03-25 08:22:53 -08:00
2006-03-27 08:44:58 -08:00
2006-04-28 08:33:49 -07:00
2006-03-27 08:44:58 -08:00
2006-03-31 12:19:01 -08:00
2006-03-27 08:44:58 -08:00
2006-03-27 08:44:58 -08:00
2006-04-20 07:54:03 -07:00
2006-03-25 08:22:52 -08:00
2006-03-27 08:44:58 -08:00
2006-03-31 12:19:00 -08:00
2006-03-27 08:44:58 -08:00
2006-03-30 17:48:47 +00:00
2006-03-31 12:18:53 -08:00
2006-04-11 06:18:54 -07:00
2006-03-27 08:44:58 -08:00
2006-03-31 12:19:00 -08:00
2006-03-31 12:19:00 -08:00