acpi: drop pointless _STA method
commit88b3648f557855f7da85b5d32f1a08c5a66c2a01
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 29 Apr 2020 13:59:52 +0000 (29 15:59 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 May 2020 14:25:02 +0000 (4 10:25 -0400)
tree5bb9db4962ffadeaa9f3470f09d56cd1a29a3232
parent9604980303579ac351e1611d1b0ea8a89c3e9e6b
acpi: drop pointless _STA method

When returning a constant there is no point in having a method
in the first place, _STA can be a simple integer instead.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200429140003.7336-5-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/i386/acpi-build.c