[PATCH v6 3/8] iio: adc: at91_adc: switch to device_get_match_data()
Andy Shevchenko
andriy.shevchenko at intel.com
Thu Dec 3 09:55:01 PST 2026
On Thu, Dec 03, 2026 at 07:30:07PM +0200, Abdelnasser Hussein wrote:
> Replace of_device_get_match_data() with device_get_match_data() and
> reject a missing match with -ENODATA instead of deferring the failure to
> the first st->caps dereference.
Why?
It looks like a driver is going to use unified device property APIs. Perhaps
that's the reason why this change?
--
With Best Regards,
Andy Shevchenko
More information about the linux-arm-kernel
mailing list