Re: [PATCH 1/6] iio:pressure:ms5637: switch to probe_new
From: Jonathan Cameron <jic23@kernel.org>
Date: 2020-12-13 17:05:42
Also in:
linux-devicetree, linux-iio, lkml
From: Jonathan Cameron <jic23@kernel.org>
Date: 2020-12-13 17:05:42
Also in:
linux-devicetree, linux-iio, lkml
On Sat, 12 Dec 2020 15:26:17 +0200 Andy Shevchenko [off-list ref] wrote:
On Thu, Dec 10, 2020 at 2:01 AM Alexandre Belloni [off-list ref] wrote:quoted
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).
We've also been bitten by this recently via greybus which does it's instantiations using the i2c_device_id table as I understand it. That's resulted in us reverting a few specific cases where we'd done pretty much what you have done here. So drop that part of the change. Thanks, Jonathan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel