hp_accel: Silence an uninitialized variable warning
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Apr 2016 14:47:20 +0000 (17:47 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 15 Apr 2016 15:26:25 +0000 (08:26 -0700)
commitff22b4806dd79ba06c78255b67e73c10e34d47cc
treef21c84edd8e7640ad21a957b9173d79704084b51
parent330a106508128056b3d7b6c940a4e906da2282dc
hp_accel: Silence an uninitialized variable warning

If acpi_evaluate_integer() fails then "lret" isn't initialized.  I've
tweaked the error handling to avoid this issue.

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