intel-rst: Use ACPI_FAILURE() macro instead !ACPI_SUCCESS() for error checking
authorPeter Ujfalusi <peter.ujfalusi@gmail.com>
Tue, 16 Sep 2014 21:13:55 +0000 (00:13 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 17 Sep 2014 20:55:53 +0000 (13:55 -0700)
commitd46a76405fad48a7efc3faf07545fa886a3b271a
treea1534fc46a7408ec220c9fa9d120a288bbc1b650
parent72a979f09fa9111fd6be8326e5f21319ff6918fb
intel-rst: Use ACPI_FAILURE() macro instead !ACPI_SUCCESS() for error checking

ACPI_SUCCESS is defined as:
#define ACPI_SUCCESS(a) (!(a))

There is no need for the the double ! since there is already a macro
defined for failures: ACPI_FAILURE()

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel-rst.c