Skip to contentSkip to conversation

i2c: Fix the comment to match the function described

PATCH New Stefan Roese 2 participants 2 messages Nov 25, 2015 – Nov 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: Fix the comment to match the function described

Use the correct function name in the function description.

Cc Simon Glass <[email protected]>
Cc Heiko Schocher <[email protected]>
---
 include/i2c.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/i2c.h +2 -1
index 6493931..1f5ae45 100644
@@ -499,7 +499,8 @@ int i2c_get_chip(struct udevice *bus, uint chip_addr, uint offset_len,
 		 struct udevice **devp);
 
 /**
- * i2c_get_chip() - get a device to use to access a chip on a bus number
+ * i2c_get_chip_for_busnum() - get a device to use to access a chip on
+ *			       a bus number
  *
  * This returns the device for the given chip address on a particular bus
  * number.
Signature · 1 line
2.6.3