Since the use of object props is effectively deprecated, here is an attempt
to convert all use of object props in hw/adc to class props. The eventual
aim is to continue working through the codebase, removing all remaining uses
of object props.
The series is lightly tested: it passes "make check", GitLab CI and some
simple local tests. I'm mostly interested for feedback on the conversion
strategy, and to get a feel for the best way to merge this series since once
the basic conversion patterns are in place, the same patterns can be applied
elsewhere and it would be good to minimise the merge window for such changes.
Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Mark Cave-Ayland (2):
qom: add support for array class properties
hw/adc/npcm7xx_adc.c: convert NPCM7XX_ADC object props to class props
hw/adc/npcm7xx_adc.c | 75 +++++++++++++++++++++++++++++++++++++++-----
qom/object.c | 27 ++++++++++++++++
2 files changed, 95 insertions(+), 7 deletions(-)
--
2.43.0