Am 31.01.2014 15:34, schrieb Andreas Färber: > Replace usages of FROM_I2C_SLAVE() with QOM cast macro. > Rename parent field. > > Signed-off-by: Andreas Färber <afaer...@suse.de> > --- > hw/audio/wm8750.c | 33 ++++++++++++++++++++------------- > 1 file changed, 20 insertions(+), 13 deletions(-)
Follow-up TODO: Move wm8750_*() prototypes out of include/hw/i2c/i2c.h a) as header cleanup, b) to place TYPE_WM8750 in an include/hw/audio/wm8750.h for reuse in z2.c, spitz.c, musicpal.c. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg