A third batch of cleanups to the DRC code. This continues to clear away relatively simple cruft, to get a clearer look at the fundamental state handling.
Changes since v1: * Some comment updates suggested by Mike Roth * Changed approach to the get_name cleanup, using generated on the fly names, instead of externally assigned names * Added in some cleanups to hotplug code in spapr_pci.c David Gibson (7): spapr: Clean up DR entity sense handling spapr: Don't misuse DR-indicator in spapr_recover_pending_dimm_state() spapr: Clean up RTAS set-indicator spapr: Clean up handling of DR-indicator spapr: Change DRC attach & detach methods to functions spapr: Fold spapr_phb_{add,remove}_pci_device() into their only callers spapr: Rework DRC name handling hw/ppc/spapr.c | 30 ++--- hw/ppc/spapr_drc.c | 269 ++++++++++++++++++++------------------------- hw/ppc/spapr_pci.c | 72 +++++------- hw/ppc/trace-events | 5 +- include/hw/ppc/spapr_drc.h | 30 ++--- 5 files changed, 171 insertions(+), 235 deletions(-) -- 2.9.4