Skip to content
Commit a7718360 authored by Dan Carpenter's avatar Dan Carpenter Committed by Darren Hart
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent d0192dca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment