qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] use object link instead of qdev property
@ 2018-10-11  9:00 Mao Zhongyi
  2018-10-11  9:00 ` [Qemu-devel] [PATCH 1/4] wm8750: remove duplicate macro Mao Zhongyi
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Mao Zhongyi @ 2018-10-11  9:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mao Zhongyi

According to qdev-properties.h, properties of pointer type
should be avoid, so convert qdev property to link, Whilst we
are here, also update some hardcoded strings with already
defineded macros.

Mao Zhongyi (4):
  wm8750: remove duplicate macro
  audio: use TYPE_WM8750 instead of a hardcoded string
  audio: use object link instead of qdev property to pass wm8750
    reference
  audio: use existing macros istead of hardcoded strings

 hw/arm/musicpal.c          | 19 ++++++++++---------
 hw/audio/marvell_88w8618.c | 17 +++++++----------
 hw/audio/wm8750.c          | 18 ++++++++----------
 include/hw/audio/wm8750.h  |  1 +
 4 files changed, 26 insertions(+), 29 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2018-10-17 11:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-11  9:00 [Qemu-devel] [PATCH 0/4] use object link instead of qdev property Mao Zhongyi
2018-10-11  9:00 ` [Qemu-devel] [PATCH 1/4] wm8750: remove duplicate macro Mao Zhongyi
2018-10-11 10:39   ` Philippe Mathieu-Daudé
2018-10-12  1:09     ` maozy
2018-10-11  9:00 ` [Qemu-devel] [PATCH 2/4] audio: use TYPE_WM8750 instead of a hardcoded string Mao Zhongyi
2018-10-11 10:40   ` Philippe Mathieu-Daudé
2018-10-11  9:00 ` [Qemu-devel] [PATCH 3/4] audio: use object link instead of qdev property to pass wm8750 reference Mao Zhongyi
2018-10-11  9:00 ` [Qemu-devel] [PATCH 4/4] audio: use existing macros istead of hardcoded strings Mao Zhongyi
2018-10-11 10:45   ` Philippe Mathieu-Daudé
2018-10-11 11:05     ` Peter Maydell
2018-10-12  1:16       ` [Qemu-devel] [PATCH 4/4] audio: use existing macros istead ofhardcoded strings maozy
2018-10-17 11:55       ` [Qemu-devel] [PATCH 4/4] audio: use existing macros istead of hardcoded strings Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).