mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
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>
This commit is contained in:
parent
90ae7ed9ba
commit
9f4e9ffee9
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ static struct i2c_driver pa12203001_driver = {
|
|||
.driver = {
|
||||
.name = PA12203001_DRIVER_NAME,
|
||||
.pm = &pa12203001_pm_ops,
|
||||
.acpi_match_table = ACPI_PTR(pa12203001_acpi_match),
|
||||
.acpi_match_table = pa12203001_acpi_match,
|
||||
},
|
||||
.probe = pa12203001_probe,
|
||||
.remove = pa12203001_remove,
|
||||
|
|
Loading…
Reference in a new issue