Re: [PATCH 1/3] iio: dac: ltc2632: drop enum and use individual chip_info objects
From: Andy Shevchenko
Date: Wed Mar 18 2026 - 11:02:07 EST
On Wed, Mar 18, 2026 at 02:57:30PM +0100, David Marinović wrote:
> Remove the ltc2632_chip_info_tbl[] array and related
> ltc2632_supported_device_ids enum used for looking up chip-specific
> information. Instead, use separate static const struct
> ltc2632_chip_info objects for each supported chip variant.
Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
(I have not reviewed that scrupulously, but at the brief look for the values
and names LGTM.)
--
With Best Regards,
Andy Shevchenko