summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2025-11-04 15:35:10 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-11-09 16:06:10 +0000
commit45d510a7203f63caa0298e40190b364d4646e2b2 (patch)
treebb82a99b15bbd88b8451f7c93d65ddc1812164e4 /include/linux/i2c/git@git.tavy.me:linux.git
parent14b72d8acea0a5c53dcffacafa43a9090fda3311 (diff)
iio: dac: ad5446: Move to single chip_info structures
Do not use an array with an enum id kind of thing. Use the more maintainable chip_info variable per chip. Adapt the probe functions to use the proper helpers (for SPI and I2c). Note that in a following patch we'll also add the chip_info variables to the of_device_id tables. Hence already use the helpers that internally use device_get_match_data(). Signed-off-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions