diff options
author | Bjorn Helgaas <[email protected]> | 2021-01-26 14:23:17 -0600 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2021-01-27 18:43:07 +0100 |
commit | 10e927249c4f78b25c4941eda93548aeaad04a46 (patch) | |
tree | ff611ae1e1bbc07a0671e687b36086569ffa640f /scripts/bpf_helpers_doc.py | |
parent | 0f39ee8324e75c9d370e84a61323ceb194641a18 (diff) |
ACPI: Test for ACPI_SUCCESS rather than !ACPI_FAILURE
The double negative makes it hard to read "if (!ACPI_FAILURE(status))".
Replace it with "if (ACPI_SUCCESS(status))".
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Acked-by: Takashi Iwai <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions