diff mbox series

iio: sca3000: Fix a typo

Message ID 20190721105353.30504-1-christophe.jaillet@wanadoo.fr (mailing list archive)
State New, archived
Headers show
Series iio: sca3000: Fix a typo | expand

Commit Message

Christophe JAILLET July 21, 2019, 10:53 a.m. UTC
All #define are about SCA3000_... except the last one.
Make it consistent.

s/SAC3000/SCA3000/

This #define is apparently unused up to now.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/iio/accel/sca3000.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Cameron July 21, 2019, 5:07 p.m. UTC | #1
On Sun, 21 Jul 2019 12:53:53 +0200
Christophe JAILLET <christophe.jaillet@wanadoo.fr> wrote:

> All #define are about SCA3000_... except the last one.
> Make it consistent.
> 
> s/SAC3000/SCA3000/
> 
> This #define is apparently unused up to now.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Applied to the togreg branch of iio.git and pushed out as testing to have
no actually effect whatsoever ;)

Thanks for tidying this up!

Jonathan


> ---
>  drivers/iio/accel/sca3000.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
> index 4964561595f5..537e9325bcc7 100644
> --- a/drivers/iio/accel/sca3000.c
> +++ b/drivers/iio/accel/sca3000.c
> @@ -114,7 +114,7 @@
>  /* Currently unsupported */
>  #define SCA3000_MD_CTRL_AND_Y				BIT(3)
>  #define SCA3000_MD_CTRL_AND_X				BIT(4)
> -#define SAC3000_MD_CTRL_AND_Z				BIT(5)
> +#define SCA3000_MD_CTRL_AND_Z				BIT(5)
>  
>  /*
>   * Some control registers of complex access methods requiring this register to
Enrico Weigelt, metux IT consult July 22, 2019, 6:55 a.m. UTC | #2
On 21.07.19 12:53, Christophe JAILLET wrote:
> All #define are about SCA3000_... except the last one.
> Make it consistent.
> 
> s/SAC3000/SCA3000/
> 
> This #define is apparently unused up to now.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
>   drivers/iio/accel/sca3000.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
> index 4964561595f5..537e9325bcc7 100644
> --- a/drivers/iio/accel/sca3000.c
> +++ b/drivers/iio/accel/sca3000.c
> @@ -114,7 +114,7 @@
>   /* Currently unsupported */
>   #define SCA3000_MD_CTRL_AND_Y				BIT(3)
>   #define SCA3000_MD_CTRL_AND_X				BIT(4)
> -#define SAC3000_MD_CTRL_AND_Z				BIT(5)
> +#define SCA3000_MD_CTRL_AND_Z				BIT(5)
>   
>   /*
>    * Some control registers of complex access methods requiring this register to
> 
Reviewed-By: Enrico Weigelt <info@metux.net>
diff mbox series

Patch

diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
index 4964561595f5..537e9325bcc7 100644
--- a/drivers/iio/accel/sca3000.c
+++ b/drivers/iio/accel/sca3000.c
@@ -114,7 +114,7 @@ 
 /* Currently unsupported */
 #define SCA3000_MD_CTRL_AND_Y				BIT(3)
 #define SCA3000_MD_CTRL_AND_X				BIT(4)
-#define SAC3000_MD_CTRL_AND_Z				BIT(5)
+#define SCA3000_MD_CTRL_AND_Z				BIT(5)
 
 /*
  * Some control registers of complex access methods requiring this register to