acpi: x86: refactor PDSM method to reduce nesting
commita12cf6923ce121633d877cf3ec53b2bcc85763ca
authorIgor Mammedov <imammedo@redhat.com>
Fri, 1 Jul 2022 13:35:03 +0000 (1 09:35 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Oct 2022 20:38:45 +0000 (9 16:38 -0400)
treed5fb59fd36770dbc28bb965b519cb17bbe445f7b
parent31b5dd03908e0c78fe8ad27e10be630cec5d4a93
acpi: x86: refactor PDSM method to reduce nesting

.., it will help with code readability and make easier
to extend method in followup patches

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220701133515.137890-6-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c