iio: pressure: dlhl60d: Use separate structures rather than an array for chip info
authorDavid Lechner <dlechner@baylibre.com>
Sat, 28 Jun 2025 18:15:10 +0000 (13:15 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Jul 2025 14:36:24 +0000 (15:36 +0100)
commit0f7797f6a819a004301135186b6b43658b672dd9
tree546ca4053c2755f33076befd2b90e88b78a5fba3
parent50df7043036957ba1584eb72fb45bb61e1ffbc15
iio: pressure: dlhl60d: Use separate structures rather than an array for chip info

Change the dlhl60d 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-24-v2-1-1c90073d1323@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/dlhl60d.c