Re: [PATCH 4/6] acpi: drop pointless _STA method

2020-03-27 Thread Igor Mammedov
On Fri, 27 Mar 2020 13:11:09 +0100 Gerd Hoffmann wrote: > 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 nice, Reviewed-by: Igor Mammedov ps: maybe somewhere in earlier patches s/ac

[PATCH 4/6] acpi: drop pointless _STA method

2020-03-27 Thread Gerd Hoffmann
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 --- hw/i386/acpi-build-pc.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/hw/i386/acpi-build-pc.c b/hw/i386/