asus-laptop: correct error handling in sysfs_acpi_set
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Sat, 16 Apr 2016 00:01:57 +0000 (03:01 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Mon, 25 Apr 2016 17:42:54 +0000 (10:42 -0700)
commit19d46ee1aec06de3dc1137c76c29e07bfd96d99d
treeed8a6c84e7579746ad2ba7fe539d8719ecfd443a
parent2ce6d9932db55cfc09dd6362d6d0d47a361f5f02
asus-laptop: correct error handling in sysfs_acpi_set

Properly return rv back to the caller in the case of an error in
parse_arg. In the process remove a unused variable 'out'.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/asus-laptop.c