Re: [PATCH] nvmem: m24lr: Remove use of i2c_match_id()

From: Srinivas Kandagatla

Date: Tue Nov 24 2026 - 16:17:53 EST



On Wed, 18 Nov 2026 10:22:51 -0600, Andrew Davis wrote:
> The function i2c_match_id() is used to fetch the matching ID from
> the i2c_device_id table. This is often used to then retrieve the
> matching driver_data. This can be done in one step with the helper
> i2c_get_match_data().
>
> It also checks for device match data, which allows for OF and
> ACPI based probing. That means we do not have to manually check
> those first and can remove those checks.
>
> [...]

Applied, thanks!

[1/1] nvmem: m24lr: Remove use of i2c_match_id()
commit: f630f2a0930162cddcc6b7a88a9f7e2bfd89ae63

Best regards,
--
Srinivas Kandagatla <srini@xxxxxxxxxx>