Skip to content
Commit 4cd3ef01 authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

gpiolib: acpi: Simplify error handling in __acpi_find_gpio()



Now that we don't perform anything on the GPIO descriptor,
we may simplify the error path in newly introduced helper.
Do it so.

Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 4fa4c499
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment