diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-16 17:24:51 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-18 16:33:25 +0100 |
commit | 072c7d3438888ca424e9d44e11f5d870749ba052 (patch) | |
tree | a57a72ee8757c1f3a3e0a4efce791078bff09152 /drivers/iio/dac | |
parent | dbacf752cde2c0e719ce97783b579a45a9730833 (diff) |
iio: accel: mma7660: Drop wrong use of ACPI_PTR()
ACPI_PTR() is more harmful than helpful. For example, in this case
if CONFIG_ACPI=n, the ID table left unused which is not what we want.
Instead of making linker to drop a section, drop ACPI_PTR().
As a side effect this makes driver ACPI and OF clean.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220616142451.10322-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions