All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] hw/adc: convert object props to class props
@ 2026-06-25 11:11 Mark Cave-Ayland
  2026-06-25 11:11 ` [PATCH v2 1/1] hw/adc/npcm7xx_adc.c: convert NPCM7XX_ADC " Mark Cave-Ayland
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Cave-Ayland @ 2026-06-25 11:11 UTC (permalink / raw)
  To: kfting, wuhaotsh, alistair, peter.maydell, berrange, qemu-arm,
	qemu-devel

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>


v2:
- Drop support for "foo[*]" notation, and generate the array property name
  directly as suggested by Daniel


Mark Cave-Ayland (1):
  hw/adc/npcm7xx_adc.c: convert NPCM7XX_ADC object props to class props

 hw/adc/npcm7xx_adc.c | 77 ++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 70 insertions(+), 7 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-30  8:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-25 11:11 [PATCH v2 0/1] hw/adc: convert object props to class props Mark Cave-Ayland
2026-06-25 11:11 ` [PATCH v2 1/1] hw/adc/npcm7xx_adc.c: convert NPCM7XX_ADC " Mark Cave-Ayland
2026-06-25 11:15   ` Daniel P. Berrangé
2026-06-25 11:22     ` Mark Cave-Ayland
2026-06-30  8:26   ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.