Re: [PATCH] iio: imu: bmi323: remove redundant register definition
From: Jonathan Cameron
Date: Thu Oct 10 2024 - 14:14:00 EST
On Wed, 9 Oct 2024 16:47:51 +0530
Tarang Raval <tarang.raval@xxxxxxxxxxxxxxxxx> wrote:
> BMI323_STEP_SC1_REG was defined twice.
>
> Redundant definition has been removed
>
> Signed-off-by: Tarang Raval <tarang.raval@xxxxxxxxxxxxxxxxx>
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 */