diff mbox series

[PATCH-for-5.2,1/3] hw/i2c: Fix typo in description

Message ID 20200811151643.21293-2-philmd@redhat.com (mailing list archive)
State New, archived
Headers show
Series trivial: Remove 'and and' in descriptions | expand

Commit Message

Philippe Mathieu-Daudé Aug. 11, 2020, 3:16 p.m. UTC
Remove the second 'and' introduced in commit 73d5f22ecb
("hw/i2c: Document the I2C qdev helpers").

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 include/hw/i2c/i2c.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Corey Minyard Aug. 11, 2020, 9:20 p.m. UTC | #1
On Tue, Aug 11, 2020 at 05:16:41PM +0200, Philippe Mathieu-Daudé wrote:
> Remove the second 'and' introduced in commit 73d5f22ecb
> ("hw/i2c: Document the I2C qdev helpers").
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Well, it seems rather obvious that this is correct :), so:

Reviewed-by: Corey Minyard <cminyard@mvista.com>

> ---
>  include/hw/i2c/i2c.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/i2c/i2c.h b/include/hw/i2c/i2c.h
> index a9c030a512..f57808851e 100644
> --- a/include/hw/i2c/i2c.h
> +++ b/include/hw/i2c/i2c.h
> @@ -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
> -- 
> 2.21.3
> 
>
diff mbox series

Patch

diff --git a/include/hw/i2c/i2c.h b/include/hw/i2c/i2c.h
index a9c030a512..f57808851e 100644
--- a/include/hw/i2c/i2c.h
+++ b/include/hw/i2c/i2c.h
@@ -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