diff options
| author | David Gibson | 2017-06-16 10:19:20 +0200 |
|---|---|---|
| committer | David Gibson | 2017-07-11 03:04:01 +0200 |
| commit | 6b762f29a8bc9feb3e45d512169571d3cc8a4f48 (patch) | |
| tree | 849fdabbe7b530dcc7830a1580ee02f257a111f1 /scripts/checkpatch.pl | |
| parent | spapr: Uniform DRC reset paths (diff) | |
| download | qemu-6b762f29a8bc9feb3e45d512169571d3cc8a4f48.tar.gz qemu-6b762f29a8bc9feb3e45d512169571d3cc8a4f48.tar.xz qemu-6b762f29a8bc9feb3e45d512169571d3cc8a4f48.zip | |
spapr: Add DRC release method
At the moment, spapr_drc_release() has an ugly switch on the DRC type to
call the right, device-specific release function. This cleans it up by
doing that via a proper QOM method.
It's still arguably an abstraction violation for the DRC code to call into
the specific device code, but one mess at a time.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
