Greg Kurz bf26ae32a9 spapr_drc: fix realize and unrealize
If object_property_add_alias() returns an error in realize(), we should
propagate it to the caller and certainly not unref the DRC.

Same thing goes for unrealize(). Since object_property_del() is the last
call, we can even get rid of the intermediate Error *.

And finally, unrealize() should undo all registrations performed by
realize().

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-07-29 16:22:14 +10:00
..
2017-06-02 11:33:53 +04:00
2017-07-27 14:23:33 +02:00
2017-07-14 12:16:09 +01:00
2017-06-02 14:07:53 +01:00
2017-07-19 13:43:58 +01:00
2017-07-28 12:35:40 +02:00
2017-07-14 12:29:49 +02:00
2017-01-27 18:07:59 +01:00
2017-07-14 12:04:43 +02:00
2017-07-17 20:13:56 +08:00
2017-07-29 16:22:14 +10:00
2017-06-27 15:09:15 +02:00
2017-07-20 10:02:11 +02:00
2017-07-26 11:38:18 -06:00