Message ID | 20241024191200.229894-11-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | iio: Clean up acpi_match_device() use cases | expand |
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,
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,
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(-)