From: Oleksij Rempel Date: Tue, 10 Feb 2026 13:51:02 +0000 (+0100) Subject: iio: dac: ds4424: rename iio_info struct to avoid ambiguity X-Git-Tag: v7.1-rc1~17^2~120^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2d5a6cb288ad3d9fb327feb39f478dc40ec9f9c;p=thirdparty%2Fkernel%2Fstable.git iio: dac: ds4424: rename iio_info struct to avoid ambiguity Rename the static `ds4424_info` structure to `ds4424_iio_info`. The previous name was generic and could be confused with chip-specific data structures (like the upcoming `ds4424_chip_info`). The new name explicitly indicates that this structure holds the IIO framework callbacks. Signed-off-by: Oleksij Rempel Reviewed-by: Andy Shevchenko Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/dac/ds4424.c b/drivers/iio/dac/ds4424.c index c35becc549855..3a923c5395771 100644 --- a/drivers/iio/dac/ds4424.c +++ b/drivers/iio/dac/ds4424.c @@ -196,7 +196,7 @@ static int ds4424_resume(struct device *dev) static DEFINE_SIMPLE_DEV_PM_OPS(ds4424_pm_ops, ds4424_suspend, ds4424_resume); -static const struct iio_info ds4424_info = { +static const struct iio_info ds4424_iio_info = { .read_raw = ds4424_read_raw, .write_raw = ds4424_write_raw, }; @@ -251,7 +251,7 @@ static int ds4424_probe(struct i2c_client *client) indio_dev->channels = ds4424_channels; indio_dev->modes = INDIO_DIRECT_MODE; - indio_dev->info = &ds4424_info; + indio_dev->info = &ds4424_iio_info; ret = iio_device_register(indio_dev); if (ret < 0) {