qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/3] use object link instead of qdev property
@ 2018-10-22  7:40 Mao Zhongyi
  2018-10-22  7:40 ` [Qemu-devel] [PATCH v4 1/3] audio: use TYPE_WM8750 instead of a hardcoded string Mao Zhongyi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mao Zhongyi @ 2018-10-22  7:40 UTC (permalink / raw)
  To: qemu-devel
  Cc: Mao Zhongyi, Jan Kiszka, Peter Maydell, Gerd Hoffmann,
	Philippe Mathieu-Daudé

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.

v4:
-fixed the "Broken pipe" error when "make check"

v3:
-removed incorrected "To: xxx" tags from commit message
-keep 'dc->user_creatable = false' in mv88w8618_audio_class_init()

v2:
-removed the patch1
-removed the TYPE_name in VMStateDescription.name

Cc: Jan Kiszka <jan.kiszka@web.de>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>

Mao Zhongyi (3):
  audio: use TYPE_WM8750 instead of a hardcoded string
  audio: use object link instead of qdev property to pass wm8750
    reference
  audio: use TYPE_MV88W8618_AUDIO instead of hardcoded string

 hw/arm/musicpal.c          |  5 +++--
 hw/audio/marvell_88w8618.c | 14 ++++++--------
 include/hw/audio/wm8750.h  |  1 +
 3 files changed, 10 insertions(+), 10 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2018-10-22 23:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-22  7:40 [Qemu-devel] [PATCH v4 0/3] use object link instead of qdev property Mao Zhongyi
2018-10-22  7:40 ` [Qemu-devel] [PATCH v4 1/3] audio: use TYPE_WM8750 instead of a hardcoded string Mao Zhongyi
2018-10-22  7:40 ` [Qemu-devel] [PATCH v4 2/3] audio: use object link instead of qdev property to pass wm8750 reference Mao Zhongyi
2018-10-22 23:40   ` Philippe Mathieu-Daudé
2018-10-22  7:40 ` [Qemu-devel] [PATCH v4 3/3] audio: use TYPE_MV88W8618_AUDIO instead of hardcoded string Mao Zhongyi

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).