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 /tools/perf/scripts/python | |
| parent | iio: accel: bma220: Mark PM functions as __maybe_unused (diff) | |
| download | linux-846afc1dbcbf878b3c8e685910ad6ce90d79de4b.tar.gz linux-846afc1dbcbf878b3c8e685910ad6ce90d79de4b.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
