Hi Andy, On Mon, Nov 16, 2020 at 3:07 PM Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote: > Another (and I think better variant) is to switch .data to be a > pointer to the corresponding struct, then you may drop enum and hwtype > completely. I did as you suggested and sent a v3. Thanks