iio: pressure: st_press: Drop unnecessary #else branch for ACPI
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Dec 2019 17:38:47 +0000 (19:38 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Dec 2019 15:20:04 +0000 (15:20 +0000)
ACPI_PTR() takes care of the argument in case of !CONFIG_ACPI.
Remove unnecessary #else branch.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/st_pressure_i2c.c

index 71d2ed6b494884f8e034002f7685de464860254a..6203bc9d5c2dcb43fe33d5d755590f661afd6ef8 100644 (file)
@@ -61,8 +61,6 @@ static const struct acpi_device_id st_press_acpi_match[] = {
        { },
 };
 MODULE_DEVICE_TABLE(acpi, st_press_acpi_match);
-#else
-#define st_press_acpi_match NULL
 #endif
 
 static const struct i2c_device_id st_press_id_table[] = {