* [PATCH] i3c: master: Fix i2c_dev_get_master_data() reference in kernel-doc
@ 2026-09-12 10:14 Karl Mehltretter
0 siblings, 0 replies; only message in thread
From: Karl Mehltretter @ 2026-09-12 10:14 UTC (permalink / raw)
To: Alexandre Belloni
Cc: Karl Mehltretter, Boris Brezillon, Frank Li, linux-i3c, linux-kernel
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-12 10:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-12 10:14 [PATCH] i3c: master: Fix i2c_dev_get_master_data() reference in kernel-doc Karl Mehltretter
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®