[PATCH] ACPI: Test for ACPI_SUCCESS rather than !ACPI_FAILURE
Mark Brown
broonie at kernel.org
Wed Jan 27 11:28:57 UTC 2021
On Tue, Jan 26, 2021 at 02:23:17PM -0600, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas at google.com>
>
> The double negative makes it hard to read "if (!ACPI_FAILURE(status))".
> Replace it with "if (ACPI_SUCCESS(status))".
Acked-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20210127/dc6bb458/attachment-0001.sig>
More information about the amd-gfx
mailing list