All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: sca3000: Fix a typo
@ 2019-07-21 10:53 ` Christophe JAILLET
  0 siblings, 0 replies; 6+ messages in thread
From: Christophe JAILLET @ 2019-07-21 10:53 UTC (permalink / raw)
  To: jic23, knaack.h, lars, pmeerw, gustavo
  Cc: linux-iio, linux-kernel, kernel-janitors, Christophe JAILLET

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
-- 
2.20.1


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

* [PATCH] iio: sca3000: Fix a typo
@ 2019-07-21 10:53 ` Christophe JAILLET
  0 siblings, 0 replies; 6+ messages in thread
From: Christophe JAILLET @ 2019-07-21 10:53 UTC (permalink / raw)
  To: jic23, knaack.h, lars, pmeerw, gustavo
  Cc: linux-iio, linux-kernel, kernel-janitors, Christophe JAILLET

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
-- 
2.20.1

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

* Re: [PATCH] iio: sca3000: Fix a typo
  2019-07-21 10:53 ` Christophe JAILLET
@ 2019-07-21 17:07   ` Jonathan Cameron
  -1 siblings, 0 replies; 6+ messages in thread
From: Jonathan Cameron @ 2019-07-21 17:07 UTC (permalink / raw)
  To: Christophe JAILLET
  Cc: knaack.h, lars, pmeerw, gustavo, linux-iio, linux-kernel,
	kernel-janitors

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


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

* Re: [PATCH] iio: sca3000: Fix a typo
@ 2019-07-21 17:07   ` Jonathan Cameron
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Cameron @ 2019-07-21 17:07 UTC (permalink / raw)
  To: Christophe JAILLET
  Cc: knaack.h, lars, pmeerw, gustavo, linux-iio, linux-kernel,
	kernel-janitors

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

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

* Re: [PATCH] iio: sca3000: Fix a typo
  2019-07-21 10:53 ` Christophe JAILLET
@ 2019-07-22  6:55   ` Enrico Weigelt, metux IT consult
  -1 siblings, 0 replies; 6+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-07-22  6:55 UTC (permalink / raw)
  To: Christophe JAILLET, jic23, knaack.h, lars, pmeerw, gustavo
  Cc: linux-iio, linux-kernel, kernel-janitors

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>

-- 
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@metux.net -- +49-151-27565287

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

* Re: [PATCH] iio: sca3000: Fix a typo
@ 2019-07-22  6:55   ` Enrico Weigelt, metux IT consult
  0 siblings, 0 replies; 6+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-07-22  6:55 UTC (permalink / raw)
  To: Christophe JAILLET, jic23, knaack.h, lars, pmeerw, gustavo
  Cc: linux-iio, linux-kernel, kernel-janitors

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>

-- 
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@metux.net -- +49-151-27565287

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

end of thread, other threads:[~2019-07-22  6:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-21 10:53 [PATCH] iio: sca3000: Fix a typo Christophe JAILLET
2019-07-21 10:53 ` Christophe JAILLET
2019-07-21 17:07 ` Jonathan Cameron
2019-07-21 17:07   ` Jonathan Cameron
2019-07-22  6:55 ` Enrico Weigelt, metux IT consult
2019-07-22  6:55   ` Enrico Weigelt, metux IT consult

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.