From: Richard Purdie Date: Mon, 15 May 2006 16:44:17 +0000 (-0700) Subject: [PATCH] LED: Fix sysfs store function error handling X-Git-Tag: v2.6.17-rc5~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dc7b82ea7649356bf027fba50c16ca50cec31e2;p=pandora-kernel.git [PATCH] LED: Fix sysfs store function error handling Fix the error handling of some LED _store functions. 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