On Wed, 5 May 2021 20:43:32 -0700
Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
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 it and with it
ACPI support from the bme680_i2c driver.
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Cc: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
Cc: Hans de Goede <hdegoede@xxxxxxxxxx>
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
A note for these is that I'll change the patch titles when applying.
We aren't removing ACPI support from the drivers, we are simply
removing the ACPI ID table entries. For most of these PRP0001 magic
will work just fine with the OF table. That's probably the
right way for small companies etc to use these in products without
having to jump through the hoops of getting an ACPI ID.