From: Pavel Machek Date: Wed, 3 Dec 2008 08:43:48 +0000 (+0000) Subject: backlight: Catch invalid input in sysfs attributes X-Git-Tag: v2.6.29-rc1~26^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a2c61a921a8aeabacaccad0d2fdf75e1c1475fb;p=pandora-kernel.git backlight: Catch invalid input in sysfs attributes Check input properly in backlight, echo > brightness should not turn off the backlight. [akpm@linux-foundation.org: coding-style fixes] [akpm@linux-foundation.org: fix printk warning] Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Richard Purdie --- Reading git-diff-tree failed