On Sat, Dec 4, 2021 at 7:07 PM Jonathan Cameron <jic23@xxxxxxxxxx> wrote: > > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > This enables using the driver with other firmware types such > as ACPI via PRP0001. > > Also part of a general attempt to move IIO drivers over to generic > properties to avoid opportunities for cut and paste. ... > -#ifdef CONFIG_OF > - It's a sign that somewhere should be of_match_ptr(). Please, double check that you remove that as well in all conversion patches. > static const struct of_device_id adc12138_dt_ids[] = { > { .compatible = "ti,adc12130", }, > { .compatible = "ti,adc12132", }, -- With Best Regards, Andy Shevchenko