iio: light: pa1203001: Drop ACPI_PTR() protection.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 16 Nov 2023 19:27:11 +0000 (19:27 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 6 Dec 2023 17:19:53 +0000 (17:19 +0000)
commit9f4e9ffee97414d882889a943e550c53b5fa1d5c
treeead80f51cec9924c6ba61b28350e4b85c5068347
parent90ae7ed9bae5d7832adeba0dd574790fac65cbbf
iio: light: pa1203001: Drop ACPI_PTR() protection.

The extra cost of always including the acpi_device_id table is trivial
vs the complexity of adding guards or __maybe_unused markings so
just stop using the ACPI_PTR() macro.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311160851.FDA4CDVE-lkp@intel.com/
Link: https://lore.kernel.org/r/20231116192711.366441-1-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/pa12203001.c