eeepc-laptop: fix set_acpi() to return non-zero on failure
commit13f70029daa3cd7f9983e4aec82f32939b1a6e6a
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 3 Dec 2009 07:44:59 +0000 (3 07:44 +0000)
committerLen Brown <len.brown@intel.com>
Wed, 9 Dec 2009 20:54:31 +0000 (9 15:54 -0500)
treea4e2e628f67efcaba1b1da1af274231425c75455
parentdc56ad9b49d20e38bb9745bf3beca84291b21a51
eeepc-laptop: fix set_acpi() to return non-zero on failure

If the control method does not exist, return -ENODEV for consistency
with get_acpi()

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/eeepc-laptop.c