diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-08-31 12:08:10 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-03 19:40:59 +0100 |
commit | 846afc1dbcbf878b3c8e685910ad6ce90d79de4b (patch) | |
tree | e308363380adf4d31535e870205027b6f242f43f /drivers/iio/accel/bmc150-accel.h | |
parent | 4d9a167a3436b960b25900fb9539d953657cf501 (diff) |
iio: accel: bma220: Drop ACPI_PTR() and accompanying ifdeffery
The driver is quite likely used only on ACPI based platforms and
rarely build with CONFIG_ACPI=n. Even though, the few dozens of bytes
is better than ugly ifdeffery and inclusion of heavy header.
As a result, replace acpi.h with mod_devicetable.h.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200831090813.78841-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/bmc150-accel.h')
0 files changed, 0 insertions, 0 deletions