Andreas Färber a5f96db7e8 z2: QOM'ify AER915
Replace usages of FROM_I2C_SLAVE() with QOM cast macro.
Rename the parent field. Reuse the type constant in z2_init().

Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
[AF: Use TYPE_AER915 in z2_init() too]
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-02-14 16:22:32 +01:00
..
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:32 +01:00
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:32 +01:00