hda-audio: qom cleanups
commitcd6c88305f2ae8fe335a001058032e03f0ff4b4e
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 21 Jan 2014 16:10:04 +0000 (21 17:10 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Feb 2014 09:42:09 +0000 (24 10:42 +0100)
treee37e4bce3760df93fc43786ec254be8a171a9090
parent105a060188dc6fdd4551571a966514d1a5f6815a
hda-audio: qom cleanups

Add HDA_AUDIO type and macro, drop DO_UPCAST().

Had to add a abstract hda audio class as parent
for all hda-* variants to make that fly.  Killed
some init code duplication while being at it.

Cc: Andreas Färber <afaerber@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/audio/hda-codec.c