]> git.karo-electronics.de Git - linux-beck.git/commit
platform/x86: Use ACPI_FAILURE at appropriate places
authorAxel Lin <axel.lin@ingics.com>
Mon, 19 Sep 2016 01:33:51 +0000 (09:33 +0800)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 13 Dec 2016 17:29:01 +0000 (09:29 -0800)
commit3526ecadc86cc1d485153255498cde7d0275dd37
tree2b46fccd8bda332ae1ca2b9c91e6b28f0114e86e
parent5dc444b804eae57abaf6f05663d9cb9f030bb9d2
platform/x86: Use ACPI_FAILURE at appropriate places

Use ACPI_FAILURE() to replace !ACPI_SUCCESS(), this avoid !! operations.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel-hid.c
drivers/platform/x86/intel-smartconnect.c
drivers/platform/x86/intel-vbtn.c
drivers/platform/x86/panasonic-laptop.c
drivers/platform/x86/thinkpad_acpi.c