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: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Andy Shevchenko 2024-04-10 23:21:46 +03:00
commit 7057fc74d6