Re: [PATCH 1/6] iio:pressure:ms5637: switch to probe_new

From: Andy Shevchenko
Date: Sat Dec 12 2020 - 08:27:54 EST


On Thu, Dec 10, 2020 at 2:01 AM Alexandre Belloni
<alexandre.belloni@xxxxxxxxxxx> wrote:
>
> Switch to the modern i2c probe_new callback and drop the i2c_device_id
> array.

First part is okay.
The second is interesting. It depends if we would like to keep a
possibility to instantiate devices from user space (strictly speaking
it's an ABI breakage).

--
With Best Regards,
Andy Shevchenko