From: Axel Lin Date: Tue, 20 Jul 2010 22:19:48 +0000 (-0700) Subject: asus-laptop: return proper error for store_ledd if write_acpi_int fail X-Git-Tag: v2.6.36-rc1~579^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a984a06487129f013ee2df6ce98b6cfada1e7b1;p=pandora-kernel.git asus-laptop: return proper error for store_ledd if write_acpi_int fail In current implementation, store_ledd() does not return error if write_acpi_int fail. This patch fixes it by return -ENODEV if write_acpi_int fail. Signed-off-by: Axel Lin Cc: Matthew Garrett Cc: Corentin Chary Cc: Alan Jenkins Signed-off-by: Andrew Morton Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed