From: Richard Purdie Date: Mon, 15 May 2006 16:44:15 +0000 (-0700) Subject: [PATCH] Backlight/LCD Class: Fix sysfs _store error handling X-Git-Tag: v2.6.17-rc5~138 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68673afd443c5eeb4cebfb9026e3675f43d79f2b;p=pandora-kernel.git [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 Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed