public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: dac: ad5592r: Fix a typo in the name of a function
@ 2020-04-25  7:00 Christophe JAILLET
  2020-04-25 16:55 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2020-04-25  7:00 UTC (permalink / raw)
  To: lars, Michael.Hennerich, stefan.popa, jic23, knaack.h, pmeerw
  Cc: linux-iio, linux-kernel, kernel-janitors, Christophe JAILLET

This module is related to AD5592R, not AD5593R, so be consistent in naming.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/iio/dac/ad5592r.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/iio/dac/ad5592r.c b/drivers/iio/dac/ad5592r.c
index 34ba059a77da..49308ad13c4b 100644
--- a/drivers/iio/dac/ad5592r.c
+++ b/drivers/iio/dac/ad5592r.c
@@ -98,7 +98,7 @@ static int ad5592r_reg_read(struct ad5592r_state *st, u8 reg, u16 *value)
 	return 0;
 }
 
-static int ad5593r_gpio_read(struct ad5592r_state *st, u8 *value)
+static int ad5592r_gpio_read(struct ad5592r_state *st, u8 *value)
 {
 	int ret;
 
@@ -121,7 +121,7 @@ static const struct ad5592r_rw_ops ad5592r_rw_ops = {
 	.read_adc = ad5592r_read_adc,
 	.reg_write = ad5592r_reg_write,
 	.reg_read = ad5592r_reg_read,
-	.gpio_read = ad5593r_gpio_read,
+	.gpio_read = ad5592r_gpio_read,
 };
 
 static int ad5592r_spi_probe(struct spi_device *spi)
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: dac: ad5592r: Fix a typo in the name of a function
  2020-04-25  7:00 [PATCH] iio: dac: ad5592r: Fix a typo in the name of a function Christophe JAILLET
@ 2020-04-25 16:55 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2020-04-25 16:55 UTC (permalink / raw)
  To: Christophe JAILLET
  Cc: lars, Michael.Hennerich, stefan.popa, knaack.h, pmeerw, linux-iio,
	linux-kernel, kernel-janitors

On Sat, 25 Apr 2020 09:00:56 +0200
Christophe JAILLET <christophe.jaillet@wanadoo.fr> wrote:

> This module is related to AD5592R, not AD5593R, so be consistent in naming.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

Applied

Thanks,

Jonathan

> ---
>  drivers/iio/dac/ad5592r.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/dac/ad5592r.c b/drivers/iio/dac/ad5592r.c
> index 34ba059a77da..49308ad13c4b 100644
> --- a/drivers/iio/dac/ad5592r.c
> +++ b/drivers/iio/dac/ad5592r.c
> @@ -98,7 +98,7 @@ static int ad5592r_reg_read(struct ad5592r_state *st, u8 reg, u16 *value)
>  	return 0;
>  }
>  
> -static int ad5593r_gpio_read(struct ad5592r_state *st, u8 *value)
> +static int ad5592r_gpio_read(struct ad5592r_state *st, u8 *value)
>  {
>  	int ret;
>  
> @@ -121,7 +121,7 @@ static const struct ad5592r_rw_ops ad5592r_rw_ops = {
>  	.read_adc = ad5592r_read_adc,
>  	.reg_write = ad5592r_reg_write,
>  	.reg_read = ad5592r_reg_read,
> -	.gpio_read = ad5593r_gpio_read,
> +	.gpio_read = ad5592r_gpio_read,
>  };
>  
>  static int ad5592r_spi_probe(struct spi_device *spi)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-25 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-25  7:00 [PATCH] iio: dac: ad5592r: Fix a typo in the name of a function Christophe JAILLET
2020-04-25 16:55 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox