Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <o.rempel@pengutronix.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Oleksij Rempel and committed by
Jonathan Cameron
d2d5a6cb 809b578b

+2 -2
+2 -2
drivers/iio/dac/ds4424.c
··· 196 196 197 197 static DEFINE_SIMPLE_DEV_PM_OPS(ds4424_pm_ops, ds4424_suspend, ds4424_resume); 198 198 199 - static const struct iio_info ds4424_info = { 199 + static const struct iio_info ds4424_iio_info = { 200 200 .read_raw = ds4424_read_raw, 201 201 .write_raw = ds4424_write_raw, 202 202 }; ··· 251 251 252 252 indio_dev->channels = ds4424_channels; 253 253 indio_dev->modes = INDIO_DIRECT_MODE; 254 - indio_dev->info = &ds4424_info; 254 + indio_dev->info = &ds4424_iio_info; 255 255 256 256 ret = iio_device_register(indio_dev); 257 257 if (ret < 0) {