From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher denx Date: Fri, 03 Jul 2015 08:53:50 +0200 Subject: [U-Boot] [PATCH 03/55] dm: i2c: Correct comment nits in dm_i2c_reg_read/write() In-Reply-To: <1435882592-487-4-git-send-email-sjg@chromium.org> References: <1435882592-487-1-git-send-email-sjg@chromium.org> <1435882592-487-4-git-send-email-sjg@chromium.org> Message-ID: <5596317E.7030405@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, Am 03.07.2015 um 02:15 schrieb Simon Glass: > Add documentation for the @dev parameter. > > Signed-off-by: Simon Glass > --- > > include/i2c.h | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Heiko Schocher bye, Heiko > > diff --git a/include/i2c.h b/include/i2c.h > index a5498a3..e1ad8d8 100644 > --- a/include/i2c.h > +++ b/include/i2c.h > @@ -129,6 +129,7 @@ int dm_i2c_probe(struct udevice *bus, uint chip_addr, uint chip_flags, > * > * This reads a single value from the given address in an I2C chip > * > + * @dev: Device to use for transfer > * @addr: Address to read from > * @return value read, or -ve on error > */ > @@ -139,6 +140,7 @@ int dm_i2c_reg_read(struct udevice *dev, uint offset); > * > * This writes a single value to the given address in an I2C chip > * > + * @dev: Device to use for transfer > * @addr: Address to write to > * @val: Value to write (normally a byte) > * @return 0 on success, -ve on error > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany