sdhci: Remove class "virtual" methods
authorKevin O'Connor <kevin@koconnor.net>
Mon, 8 Dec 2014 23:10:30 +0000 (18:10 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Dec 2014 16:34:44 +0000 (17:34 +0100)
commitd368ba4376b2c1c24175c74b3733b8fe64dbe8a6
tree9e9479567f488f602fbfa449074594db3107dad8
parentc7ff8daacf4a669f9ab5a975f33a51ef901b7556
sdhci: Remove class "virtual" methods

The SDHCIClass defines a series of class "methods".  However, no code
in the QEMU tree overrides these methods or even uses them outside of
sdhci.c.

Remove the virtual methods and replace them with direct calls to the
underlying functions.  This simplifies the process of extending the
sdhci code to support PCI devices (which have a different parent
class).

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/sd/sdhci.c
hw/sd/sdhci.h