Commit 4c3e7367 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Jonathan Cameron

iio: accel: st_accel: Drop unnecessary #else branch for ACPI

ACPI_PTR() takes care of the argument in case of !CONFIG_ACPI.
Remove unnecessary #else branch.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent d9fa3fd4
...@@ -119,8 +119,6 @@ static const struct acpi_device_id st_accel_acpi_match[] = { ...@@ -119,8 +119,6 @@ static const struct acpi_device_id st_accel_acpi_match[] = {
{ }, { },
}; };
MODULE_DEVICE_TABLE(acpi, st_accel_acpi_match); MODULE_DEVICE_TABLE(acpi, st_accel_acpi_match);
#else
#define st_accel_acpi_match NULL
#endif #endif
static const struct i2c_device_id st_accel_id_table[] = { static const struct i2c_device_id st_accel_id_table[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment