block/nand: QOM casting sweep
commite12078cc62f2b4a947903efef803ab1b2e13cfa1
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 18 Jun 2013 11:10:44 +0000 (18 21:10 +1000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Jun 2013 18:06:31 +0000 (25 19:06 +0100)
tree6dec57aea76118f5cadc736fb51a5726b1416366
parentf3c8fac25f119641fd30f2014bfd368a0023769e
block/nand: QOM casting sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST and
direct -> style casting.

Cc: afaerber@suse.de
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/block/nand.c