[PATCH v3 06/24] iio: accel: kxcjk-1013: Remove redundant I²C ID

Andy Shevchenko posted 24 patches 1 month ago
[PATCH v3 06/24] iio: accel: kxcjk-1013: Remove redundant I²C ID
Posted by Andy Shevchenko 1 month ago
The ACPI IDs are defined in the respective ID tables. Puting them
to the I²C ID legacy table has no meaning. Remove that ID.

Fixes: 3bfa74f86006 ("iio:kxcjk-1013: Add support for SMO8500 device")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/iio/accel/kxcjk-1013.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
index bbf65fc97b08..2eec95d8defb 100644
--- a/drivers/iio/accel/kxcjk-1013.c
+++ b/drivers/iio/accel/kxcjk-1013.c
@@ -1717,7 +1717,6 @@ static const struct i2c_device_id kxcjk1013_id[] = {
 	{"kxtf9",     KXTF9},
 	{"kx022-1020", KX0221020},
 	{"kx023-1025", KX0231025},
-	{"SMO8500",   KXCJ91008},
 	{}
 };
 
-- 
2.43.0.rc1.1336.g36b5255a03ac

Re: [PATCH v3 06/24] iio: accel: kxcjk-1013: Remove redundantI²C ID
Posted by Jonathan Cameron 1 month ago
On Thu, 24 Oct 2024 22:04:55 +0300
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:

> The ACPI IDs are defined in the respective ID tables. Puting them
> to the I²C ID legacy table has no meaning. Remove that ID.
> 
> Fixes: 3bfa74f86006 ("iio:kxcjk-1013: Add support for SMO8500 device")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Applied.
> ---
>  drivers/iio/accel/kxcjk-1013.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
> index bbf65fc97b08..2eec95d8defb 100644
> --- a/drivers/iio/accel/kxcjk-1013.c
> +++ b/drivers/iio/accel/kxcjk-1013.c
> @@ -1717,7 +1717,6 @@ static const struct i2c_device_id kxcjk1013_id[] = {
>  	{"kxtf9",     KXTF9},
>  	{"kx022-1020", KX0221020},
>  	{"kx023-1025", KX0231025},
> -	{"SMO8500",   KXCJ91008},
>  	{}
>  };
>