mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srini@kernel.org>
To: Andrew Davis <afd@ti.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nvmem: m24lr: Remove use of i2c_match_id()
Date: Tue, 24 Nov 2026 21:17:45 +0000	[thread overview]
Message-ID: <179555506537.418986.17143689178541306609.b4-ty@kernel.org> (raw)
In-Reply-To: <20261118162251.233513-1-afd@ti.com>


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@kernel.org>


      reply	other threads:[~2026-11-24 21:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 16:22 Andrew Davis
2026-11-24 21:17 ` Srinivas Kandagatla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179555506537.418986.17143689178541306609.b4-ty@kernel.org \
    --to=srini@kernel.org \
    --cc=afd@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®