android_kernel_xiaomi_sm8350/drivers/video/backlight
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
..
backlight.c [PATCH] Backlight/LCD Class: Fix sysfs _store error handling 2006-05-15 11:20:56 -07:00
corgi_bl.c [PATCH] backlight: corgi_bl: Generalise to support other Sharp SL hardware 2006-03-31 12:19:00 -08:00
hp680_bl.c
Kconfig [PATCH] backlight: corgi_bl: Generalise to support other Sharp SL hardware 2006-03-31 12:19:00 -08:00
lcd.c [PATCH] Backlight/LCD Class: Fix sysfs _store error handling 2006-05-15 11:20:56 -07:00
locomolcd.c
Makefile