pc: replace pm object initialization with one-liner in acpi_get_pm_info()
commit697155cdf13f63001ded45664f3ca093630f1f69
authorIgor Mammedov <imammedo@redhat.com>
Wed, 28 Feb 2018 14:23:47 +0000 (28 15:23 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Mar 2018 21:09:50 +0000 (13 23:09 +0200)
tree56b9285ab64ae64d28bbe91027678079aff3b89d
parent13b1881aacc7e5018773bd545bbaf8d5476699ee
pc: replace pm object initialization with one-liner in acpi_get_pm_info()

next patch will need it before it gets to piix4/lpc branches
that initializes 'obj' now.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c