]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf268d213c31a9107f5f5f6c0b3ad5aa84cbe7c58
tree7b7c6d94c61a5ae061e49389fdc477916cfc494e
parentd7f50eed2d0c753c3535acc0914d56d0a6112e3a
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