[16/16] i2c: busses: i2c-st: trivial: Fix spelling issue 'enmpty => empty'

Message ID 20210520190105.3772683-17-lee.jones@linaro.org
State New
Headers show
Series
  • Rid W=1 warnings from I2C
Related show

Commit Message

Lee Jones May 20, 2021, 7:01 p.m.
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Maxime Coquelin <maxime.coquelin@st.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-i2c@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/i2c/busses/i2c-st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.1

Comments

Alain Volmat May 21, 2021, 2:23 p.m. | #1
Thanks for the patch.

Reviewed-by: Alain Volmat <alain.volmat@foss.st.com>


On Thu, May 20, 2021 at 08:01:05PM +0100, Lee Jones wrote:
> Cc: Patrice Chotard <patrice.chotard@foss.st.com>

> Cc: Maxime Coquelin <maxime.coquelin@st.com>

> Cc: linux-arm-kernel@lists.infradead.org

> Cc: linux-i2c@vger.kernel.org

> Signed-off-by: Lee Jones <lee.jones@linaro.org>

> ---

>  drivers/i2c/busses/i2c-st.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c

> index 30089b38044b5..88482316d22a0 100644

> --- a/drivers/i2c/busses/i2c-st.c

> +++ b/drivers/i2c/busses/i2c-st.c

> @@ -524,7 +524,7 @@ static void st_i2c_handle_write(struct st_i2c_dev *i2c_dev)

>  }

>  

>  /**

> - * st_i2c_handle_read() - Handle FIFO enmpty interrupt in case of read

> + * st_i2c_handle_read() - Handle FIFO empty interrupt in case of read

>   * @i2c_dev: Controller's private data

>   */

>  static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev)

> -- 

> 2.31.1

>
Wolfram Sang May 27, 2021, 7:38 p.m. | #2
On Fri, May 21, 2021 at 04:23:49PM +0200, Alain Volmat wrote:
> Thanks for the patch.

> 

> Reviewed-by: Alain Volmat <alain.volmat@foss.st.com>

> 

> On Thu, May 20, 2021 at 08:01:05PM +0100, Lee Jones wrote:

> > Cc: Patrice Chotard <patrice.chotard@foss.st.com>

> > Cc: Maxime Coquelin <maxime.coquelin@st.com>

> > Cc: linux-arm-kernel@lists.infradead.org

> > Cc: linux-i2c@vger.kernel.org

> > Signed-off-by: Lee Jones <lee.jones@linaro.org>


Squashed the patch into the other one for i2c-st. Thanks!

Patch

diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c
index 30089b38044b5..88482316d22a0 100644
--- a/drivers/i2c/busses/i2c-st.c
+++ b/drivers/i2c/busses/i2c-st.c
@@ -524,7 +524,7 @@  static void st_i2c_handle_write(struct st_i2c_dev *i2c_dev)
 }
 
 /**
- * st_i2c_handle_read() - Handle FIFO enmpty interrupt in case of read
+ * st_i2c_handle_read() - Handle FIFO empty interrupt in case of read
  * @i2c_dev: Controller's private data
  */
 static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev)