Skip to contentSkip to conversation

i3c: master: Fix i2c_dev_get_master_data() reference in kernel-doc

PATCH New Karl Mehltretter 1 participant 1 message Sep 12 I3C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i3c: master: Fix i2c_dev_get_master_data() reference in kernel-doc

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
---
 include/linux/i3c/master.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/i3c/master.h +1 -1
index f7ceec2b447738a6612b974de1696d45b261d1ad..b8222bddd46e36cb23787685a3eaa9832d00645a 100644
@@ -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)
Signature · 1 line
2.39.5 (Apple Git-154)