tosa: QOM'ify DAC
commit70b51690328872e0903e0615f32f05678f6b53cf
authorAndreas Färber <afaerber@suse.de>
Thu, 19 Dec 2013 20:51:29 +0000 (19 21:51 +0100)
committerAndreas Färber <afaerber@suse.de>
Fri, 14 Feb 2014 15:22:32 +0000 (14 16:22 +0100)
treeec57d6b127103a9b5639bc1f752c249a15446f12
parent96dca6b9a964b96c3ce72449333ff3bdd4ce85f7
tosa: QOM'ify DAC

Replace usages of FROM_I2C_SLAVE() with QOM cast macro.
Rename parent field. Use type constant in tosa_tg_init().

Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/arm/tosa.c