]> git.proxmox.com Git - mirror_qemu.git/commit
spapr: Eliminate spapr_drc_get_type_str()
authorDavid Gibson <david@gibson.dropbear.id.au>
Sun, 4 Jun 2017 10:26:54 +0000 (20:26 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 5 Jun 2017 23:24:21 +0000 (09:24 +1000)
commit1693ea168575849bc2784e193002c317ef3eee39
treedde353901145eaf7d4245bf5dcc91fa13ba5a812
parentb8fdd530be3450940130b63d930bb0aee1538e7e
spapr: Eliminate spapr_drc_get_type_str()

This function was used in generating the device tree.  However, now that
we have different QOM types for different DRC types we can easily store
the information we need in the class structure and avoid this specialized
lookup function.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Acked-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/ppc/spapr_drc.c
include/hw/ppc/spapr_drc.h