]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
usb: core: Use ACPI_SUCCESS() at appropriate places
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 18 Feb 2020 19:17:17 +0000 (21:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2020 10:08:52 +0000 (11:08 +0100)
commit2b974ee056a2a55e120071d014b31cb330117577
treed54c9a9fc029db20ca4084dba2f8df5d8af124df
parent24f772409b2426a6545eb0d96b297b8913d70539
usb: core: Use ACPI_SUCCESS() at appropriate places

Use ACPI_SUCCESS() to replace !ACPI_FAILURE(), this avoids additional operation.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200218191717.73512-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/usb-acpi.c