iio: imu: adis16400: Use separate structures rather than an array for chip info
authorDavid Lechner <dlechner@baylibre.com>
Sat, 28 Jun 2025 17:27:46 +0000 (12:27 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Jul 2025 14:36:24 +0000 (15:36 +0100)
commit2ef920e0e5c06c2bf200a1f1e1019a9a5111a90e
tree74067be4325946b9dd411a947e0ce9d1183eb2ee
parent00a468c9312645c61ebe3c272a4cbf3dc2f82187
iio: imu: adis16400: Use separate structures rather than an array for chip info

Change the adis16400 driver to use individual chip info structures
instead of an array. This reduces the verbosity of the code. Also, the
data is now const as it should have been in the first place.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250628-iio-const-data-17-v1-1-a215ebb653ec@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16400.c