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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Oct 2024 22:04:59 +0300
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> Rename kxcjk1013_info to kxcjk1013_iio_info in preparatory of
> further cleaning up changes.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
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,





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux