diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-28 12:42:55 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-30 11:29:56 +0200 |
commit | 55c2f967c19fdbf6b19e32938ae2b3dd70389be8 (patch) | |
tree | 5653686e6fc626371d9b5a6f0ba0faccba4a9619 /tests/test-qapi-util.c | |
parent | 18bb73b3273d0c55ce1db1f8ab123d3d53506c7b (diff) |
acpi/gpex: no reason to use a method for _CRS
... just to return something which is constant anyway.
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Return (ResourceTemplate ()
- {
- WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
[ ... ]
+ Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
+ {
+ WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
[ ... ]
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-12-kraxel@redhat.com
Diffstat (limited to 'tests/test-qapi-util.c')
0 files changed, 0 insertions, 0 deletions