eeepc-laptop: store_cpufv: return error if set_acpi fails
authorFrans Klaver <fransklaver@gmail.com>
Wed, 17 Sep 2014 21:47:27 +0000 (23:47 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 19 Sep 2014 16:42:12 +0000 (09:42 -0700)
commitd48690383febbf17d958e909ff8f0d15f4497325
tree754449d461e62c82a42f76d41389c90fc038ade9
parenta5c155b16f4c170d96d41fc6066f245f2d53604d
eeepc-laptop: store_cpufv: return error if set_acpi fails

The result of set_acpi is left unchecked, but it may return errors. If
one occurs, send the error to the caller. There's no reason to lie about
it, if set_acpi fails.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/eeepc-laptop.c