diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2021-02-03 21:54:30 +0000 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-02-04 10:20:16 +0100 |
commit | 803be832ac5698f54afa0c10458f59ce4104aa0f (patch) | |
tree | 85c77063d49f0c733e04307e430a028b2c334e84 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e1a39a4460c17fa397020cd064744a908e2eac71 (diff) |
platform/x86: ideapad-laptop: use appropriately typed variable to store the return value of ACPI methods
Use a variable with type `acpi_status` to store the return value of
ACPI methods instead of a plain `int`. And use ACPI_{SUCCESS,FAILURE}
macros where possible instead of direct comparison.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-4-pobrn@protonmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions