[Qemu-devel] [PATCH 0/4] use object link instead of qdev property

Mao Zhongyi posted 4 patches 7 years, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181011090007.1103-1-maozhongyi@cmss.chinamobile.com
Test docker-clang@ubuntu failed
Test checkpatch passed
Test docker-quick@centos7 failed
Test docker-mingw@fedora passed
There is a newer version of this series
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(-)
[Qemu-devel] [PATCH 0/4] use object link instead of qdev property
Posted by Mao Zhongyi 7 years, 4 months ago
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