Re: [PATCH v2] iio: bme680_i2c: Remove ACPI support

From: Guenter Roeck
Date: Sat May 08 2021 - 11:25:01 EST


On 5/8/21 12:48 AM, Andy Shevchenko wrote:
[ ... ]

If you like I'll be happy to send you the coccinelle script I wrote
to play with.


Please share (maybe even thru GH gist or so?)


https://github.com/groeck/coccinelle-patches, subdirectory 'acpi'.

With "MODE=patch", it "only" touches 258 files in the kernel,
and 43 files in drivers/iio.

From the other comments it looks like we would need another csv based
match table, something like

ID, "valid" | "invalid"

to override the results from the published ID tables.

Guenter