iio: am2315: Remove acpi_device_id table
authorGuenter Roeck <linux@roeck-us.net>
Tue, 4 May 2021 15:37:46 +0000 (08:37 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 May 2021 12:54:23 +0000 (13:54 +0100)
commit3a57abfaa5a67e94624625a6e020874dde883ece
treef5f3e2dc392b32ea2bf0276781a6595361292143
parentef8512b3b2c8f69d103d8910ea65879ab6bef7d9
iio: am2315: Remove acpi_device_id table

With CONFIG_ACPI=n and -Werror, 0-day reports:

drivers/iio/humidity/am2315.c:259:36: error:
'am2315_acpi_id' defined but not used

According to Andy Shevchenko, the ACPI ID used in this driver is fake
and does not really exist. Remove it and with it ACPI support from
the driver.

Note that, if an explicit of_device_id table is added to the driver
it could support the PRP0001 based ACPI approach.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/humidity/am2315.c