These set of patches make some cleanup in some of the driver's functions. The first patch changes the variables declaration, the second changes the error checking logic and the third simply fixes a typo found while making these changes. Changes since v1: - Small changes to patch 01 acording to Darren's comments - Added a missing return on *eco_mode_available function Azael Avalos (3): toshiba_acpi: Clean up variable declaration toshiba_acpi: Change error checking logic from TCI functions toshiba_acpi: Fix typo in *_cooling_method_set function drivers/platform/x86/toshiba_acpi.c | 261 +++++++++++++++++++++--------------- 1 file changed, 154 insertions(+), 107 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html