Skip to content
Commit 7057fc74 authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

gpiolib: acpi: Remove never true check in acpi_get_gpiod_by_index()



The acpi_get_gpiod_by_index() never is called with adev being NULL.
Remove the redundant check.

Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent ace0ebe5
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