summaryrefslogtreecommitdiff
path: root/include/i2c.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-11-25 07:41:58 +0100
committerHeiko Schocher <hs@denx.de>2015-11-27 05:54:21 +0100
commita06728c8396b205c93819bb36345a816994506de (patch)
tree64539eb965b7af8cee903531cbda28dd978268b4 /include/i2c.h
parent71cbed31f4f123708b8b3397cb166155c4a71f66 (diff)
downloadu-boot-a06728c8396b205c93819bb36345a816994506de.tar.gz
i2c: Fix the comment to match the function described
Use the correct function name in the function description. Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 6493931c35..1f5ae4538a 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.