thinkpad_acpi: Silence an uninitialized variable warning
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Apr 2016 14:46:34 +0000 (17:46 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 15 Apr 2016 15:27:15 +0000 (08:27 -0700)
commita7718360d91eedbedd58978ec8fff4a67a866f86
tree8f2358ae1a2554536229954c45509d1ce530e504
parentd0192dca2d6b64c043db5babb40076d13a6e955b
thinkpad_acpi: Silence an uninitialized variable warning

If fan_get_status() fails then "s" is not initialized.  Tweak the error
handling a bit to silence this warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c