diff mbox

[U-Boot] i2c: Fix the comment to match the function described

Message ID 1448433718-30600-1-git-send-email-sr@denx.de
State Awaiting Upstream
Delegated to: Heiko Schocher
Headers show

Commit Message

Stefan Roese Nov. 25, 2015, 6:41 a.m. UTC
Use the correct function name in the function description.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
---
 include/i2c.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Simon Glass Nov. 26, 2015, 5:49 p.m. UTC | #1
On 24 November 2015 at 23:41, Stefan Roese <sr@denx.de> wrote:
> Use the correct function name in the function description.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Heiko Schocher <hs@denx.de>
> ---
>  include/i2c.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/include/i2c.h b/include/i2c.h
index 6493931..1f5ae45 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -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.