On Tue, 31 May 2022 17:11:17 +0300I actually have this device on a PCIe card where I instantiate it using mfd with device properties. But no external channels so there was no need to convert that part to device properties.
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
Convert the module to be property provider agnostic and allowThese both seem good to me, but as the driver is fairly actively maintained,
it to be used on non-OF platforms.
Add mod_devicetable.h include.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
I'll let this one sit on the list for a while so others can take a look.
Whilst it 'seems' unlikely anyone will ever use this driver with other firmware
I am keen to reduce the number of of-specific drivers in IIO just to avoid
any chance of cut and paste.