toshiba_acpi: Change some variables to avoid warnings from ninja-check
authorAzael Avalos <coproscefalo@gmail.com>
Thu, 23 Jul 2015 01:37:49 +0000 (19:37 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 24 Jul 2015 22:47:38 +0000 (15:47 -0700)
commit1e574dbfadafd9fd1f2a414efb731d7538277e71
tree7b7c6d94c61a5ae061e49389fdc477916cfc494e
parentd50c9005d32b4eda6e11f7ec4f1b00a93088e0ca
toshiba_acpi: Change some variables to avoid warnings from ninja-check

This patch changes some variables to avoid warnings from ninja-check.

We are basically moving some variables inside the conditionals where
such variables are being used, and we are checking the returned values
of some others.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c