hw/isa: Remove empty ISADeviceClass structure

ISADeviceClass is an empty class and just increase code
complexity. Remove it, directly embedding DeviceClass in
classes expanding TYPE_ISA_DEVICE.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20230215161641.32663-19-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2023-02-14 12:48:15 +01:00
parent eba245659b
commit 97cfb5e430
6 changed files with 5 additions and 10 deletions

View file

@ -58,7 +58,7 @@ struct PITCommonState {
};
struct PITCommonClass {
ISADeviceClass parent_class;
DeviceClass parent_class;
void (*set_channel_gate)(PITCommonState *s, PITChannelState *sc, int val);
void (*get_channel_info)(PITCommonState *s, PITChannelState *sc,