iio: accel: stk8ba50: Drop ACPI_PTR() usage
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 31 Dec 2023 18:34:57 +0000 (18:34 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 23 Jan 2024 22:06:54 +0000 (22:06 +0000)
commit095f3ed5833f55ae3f712b0dcc1bf58d2e03871d
treed0a6f53d4ce21964596aab64df5fb0dace1c26ca
parent39d76808a80a8b03a96151a9b7fddd76e386bbd9
iio: accel: stk8ba50: Drop ACPI_PTR() usage

Avoiding unused variable warnings when using this macro adds
complexity that in simple cases like this one is not justified
for the small saving in data.

Switch include to mod_devicetable.h as that contains the only
ACPI specific definitions needed in this driver.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20231231183514.566609-8-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/stk8ba50.c