[PATCH] i3c: master: Fix i2c_dev_get_master_data() reference in kernel-doc
From: Karl Mehltretter
Date: Sat Sep 12 2026 - 06:23:21 EST
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@xxxxxxxxx>
---
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)