[PATCH v3 10/24] iio: accel: kxcjk-1013: Rename kxcjk1013_info

Andy Shevchenko posted 24 patches 1 month ago
[PATCH v3 10/24] iio: accel: kxcjk-1013: Rename kxcjk1013_info
Posted by Andy Shevchenko 1 month ago
Rename kxcjk1013_info to kxcjk1013_iio_info in preparatory of
further cleaning up changes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/iio/accel/kxcjk-1013.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
index a5411d920025..f97bdbbe71ed 100644
--- a/drivers/iio/accel/kxcjk-1013.c
+++ b/drivers/iio/accel/kxcjk-1013.c
@@ -1211,7 +1211,7 @@ static const struct iio_buffer_setup_ops kxcjk1013_buffer_setup_ops = {
 	.postdisable		= kxcjk1013_buffer_postdisable,
 };
 
-static const struct iio_info kxcjk1013_info = {
+static const struct iio_info kxcjk1013_iio_info = {
 	.attrs			= &kxcjk1013_attrs_group,
 	.read_raw		= kxcjk1013_read_raw,
 	.write_raw		= kxcjk1013_write_raw,
@@ -1533,7 +1533,7 @@ static int kxcjk1013_probe(struct i2c_client *client)
 	indio_dev->available_scan_masks = kxcjk1013_scan_masks;
 	indio_dev->name = name;
 	indio_dev->modes = INDIO_DIRECT_MODE;
-	indio_dev->info = &kxcjk1013_info;
+	indio_dev->info = &kxcjk1013_iio_info;
 
 	if (client->irq > 0 && data->acpi_type != ACPI_SMO8500) {
 		ret = devm_request_threaded_irq(&client->dev, client->irq,
-- 
2.43.0.rc1.1336.g36b5255a03ac
Re: [PATCH v3 10/24] iio: accel: kxcjk-1013: Rename kxcjk1013_info
Posted by Jonathan Cameron 1 month ago
On Thu, 24 Oct 2024 22:04:59 +0300
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:

> Rename kxcjk1013_info to kxcjk1013_iio_info in preparatory of
> further cleaning up changes.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Applied.
> ---
>  drivers/iio/accel/kxcjk-1013.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
> index a5411d920025..f97bdbbe71ed 100644
> --- a/drivers/iio/accel/kxcjk-1013.c
> +++ b/drivers/iio/accel/kxcjk-1013.c
> @@ -1211,7 +1211,7 @@ static const struct iio_buffer_setup_ops kxcjk1013_buffer_setup_ops = {
>  	.postdisable		= kxcjk1013_buffer_postdisable,
>  };
>  
> -static const struct iio_info kxcjk1013_info = {
> +static const struct iio_info kxcjk1013_iio_info = {
>  	.attrs			= &kxcjk1013_attrs_group,
>  	.read_raw		= kxcjk1013_read_raw,
>  	.write_raw		= kxcjk1013_write_raw,
> @@ -1533,7 +1533,7 @@ static int kxcjk1013_probe(struct i2c_client *client)
>  	indio_dev->available_scan_masks = kxcjk1013_scan_masks;
>  	indio_dev->name = name;
>  	indio_dev->modes = INDIO_DIRECT_MODE;
> -	indio_dev->info = &kxcjk1013_info;
> +	indio_dev->info = &kxcjk1013_iio_info;
>  
>  	if (client->irq > 0 && data->acpi_type != ACPI_SMO8500) {
>  		ret = devm_request_threaded_irq(&client->dev, client->irq,