OSDN Git Service

iio: bme680_i2c: Remove acpi_device_id table
authorGuenter Roeck <linux@roeck-us.net>
Thu, 6 May 2021 03:43:32 +0000 (20:43 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 May 2021 12:54:23 +0000 (13:54 +0100)
commitb73d21dccf6826b2768c15da931f982d5812b044
treefa7f2477e81cdbd210f5605f9717ab96e168a932
parentf0e4057e97c1af9a55052f5fb024d69cf961ccf2
iio: bme680_i2c: Remove acpi_device_id table

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

drivers/iio/chemical/bme680_i2c.c:46:36: error:
'bme680_acpi_match' defined but not used

Apparently BME0680 is not a valid ACPI ID. Remove the ID.

Note the driver will still work with ACPI bindings that use the PRP0001
mechanism as that uses the of_device_id table instead.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/bme680_i2c.c