hw/i2c: Fix typo in description
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 11 Aug 2020 15:16:41 +0000 (17:16 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 1 Sep 2020 09:08:57 +0000 (11:08 +0200)
Remove the second 'and' introduced in commit 73d5f22ecb
("hw/i2c: Document the I2C qdev helpers").

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20200811151643.21293-2-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
include/hw/i2c/i2c.h

index a9c030a51233b146f444b7e69898943bba70fe8b..f57808851e22953edac55228dfbd0d5dd426cc34 100644 (file)
@@ -102,7 +102,7 @@ I2CSlave *i2c_slave_new(const char *name, uint8_t addr);
 I2CSlave *i2c_slave_create_simple(I2CBus *bus, const char *name, uint8_t addr);
 
 /**
- * Realize and and drop a reference an I2C slave device
+ * Realize and drop a reference an I2C slave device
  * @dev: I2C slave device to realize
  * @bus: I2C bus to put it on
  * @addr: I2C address of the slave on the bus