mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] iio: imu: bmi323: remove redundant register definition
@ 2024-10-09 11:17 Tarang Raval
  2024-10-10 18:13 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Tarang Raval @ 2024-10-09 11:17 UTC (permalink / raw)
  To: jic23, jagathjog1996
  Cc: tarang.raval, Lars-Peter Clausen, linux-iio, linux-kernel

BMI323_STEP_SC1_REG was defined twice.

Redundant definition has been removed

Signed-off-by: Tarang Raval <tarang.raval@siliconsignals.io>
---
 drivers/iio/imu/bmi323/bmi323.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/imu/bmi323/bmi323.h b/drivers/iio/imu/bmi323/bmi323.h
index 209bccb1f335..b4cfe92600a4 100644
--- a/drivers/iio/imu/bmi323/bmi323.h
+++ b/drivers/iio/imu/bmi323/bmi323.h
@@ -141,7 +141,6 @@
 #define BMI323_STEP_SC1_REG			0x10
 #define BMI323_STEP_SC1_WTRMRK_MSK		GENMASK(9, 0)
 #define BMI323_STEP_SC1_RST_CNT_MSK		BIT(10)
-#define BMI323_STEP_SC1_REG			0x10
 #define BMI323_STEP_LEN				2
 
 /* Tap gesture config registers */
-- 
2.43.0


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

* Re: [PATCH] iio: imu: bmi323: remove redundant register definition
  2024-10-09 11:17 [PATCH] iio: imu: bmi323: remove redundant register definition Tarang Raval
@ 2024-10-10 18:13 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2024-10-10 18:13 UTC (permalink / raw)
  To: Tarang Raval; +Cc: jagathjog1996, Lars-Peter Clausen, linux-iio, linux-kernel

On Wed,  9 Oct 2024 16:47:51 +0530
Tarang Raval <tarang.raval@siliconsignals.io> wrote:

> BMI323_STEP_SC1_REG was defined twice.
> 
> Redundant definition has been removed
> 
> Signed-off-by: Tarang Raval <tarang.raval@siliconsignals.io>
Applied. Thanks,

Jonathan

> ---
>  drivers/iio/imu/bmi323/bmi323.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/imu/bmi323/bmi323.h b/drivers/iio/imu/bmi323/bmi323.h
> index 209bccb1f335..b4cfe92600a4 100644
> --- a/drivers/iio/imu/bmi323/bmi323.h
> +++ b/drivers/iio/imu/bmi323/bmi323.h
> @@ -141,7 +141,6 @@
>  #define BMI323_STEP_SC1_REG			0x10
>  #define BMI323_STEP_SC1_WTRMRK_MSK		GENMASK(9, 0)
>  #define BMI323_STEP_SC1_RST_CNT_MSK		BIT(10)
> -#define BMI323_STEP_SC1_REG			0x10
>  #define BMI323_STEP_LEN				2
>  
>  /* Tap gesture config registers */


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

end of thread, other threads:[~2024-10-10 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-09 11:17 [PATCH] iio: imu: bmi323: remove redundant register definition Tarang Raval
2024-10-10 18:13 ` Jonathan Cameron

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

all inboxes | Powered by JetHome®