mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Karl Mehltretter <kmehltretter@gmail.com>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Karl Mehltretter <kmehltretter@gmail.com>,
	Boris Brezillon <boris.brezillon@collabora.com>,
	Frank Li <Frank.Li@nxp.com>,
	linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH] i3c: master: Fix i2c_dev_get_master_data() reference in kernel-doc
Date: Sat, 12 Sep 2026 12:14:46 +0200	[thread overview]
Message-ID: <20260912101446.86506-1-kmehltretter@gmail.com> (raw)

The i2c_dev_set_master_data() comment names the corresponding getter as
i2c_device_get_master_data(). The getter is i2c_dev_get_master_data().
Correct the reference.

Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
 include/linux/i3c/master.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h
index f7ceec2b447738a6612b974de1696d45b261d1ad..b8222bddd46e36cb23787685a3eaa9832d00645a 100644
--- a/include/linux/i3c/master.h
+++ b/include/linux/i3c/master.h
@@ -709,7 +709,7 @@ static inline void *i2c_dev_get_master_data(const struct i2c_dev_desc *dev)
  * @data: private data
  *
  * This functions allows a master controller to attach per-device private data
- * which can then be retrieved with i2c_device_get_master_data().
+ * which can then be retrieved with i2c_dev_get_master_data().
  */
 static inline void i2c_dev_set_master_data(struct i2c_dev_desc *dev,
 					   void *data)
-- 
2.39.5 (Apple Git-154)


                 reply	other threads:[~2026-09-12 10:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260912101446.86506-1-kmehltretter@gmail.com \
    --to=kmehltretter@gmail.com \
    --cc=Frank.Li@nxp.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=boris.brezillon@collabora.com \
    --cc=linux-i3c@lists.infradead.org \
    --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®