OSDN Git Service

audio: use object link instead of qdev property to pass wm8750 reference
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>
Mon, 22 Oct 2018 07:40:49 +0000 (15:40 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 29 Oct 2018 12:50:15 +0000 (13:50 +0100)
commita8299ec1b243ea56c41648ca63b96930f2db118b
treedd76c25dbc012b4759d4e6edd5cf8c41fd5f3bff
parenta518333b15c69269e15025d0d6b7a921a6fc709e
audio: use object link instead of qdev property to pass wm8750 reference

According to qdev-properties.h, properties of pointer type should
be avoided, it seems a link type property is a good substitution.

Cc: Jan Kiszka <jan.kiszka@web.de>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20181022074050.19638-3-maozhongyi@cmss.chinamobile.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/arm/musicpal.c
hw/audio/marvell_88w8618.c