gpiolib: acpi: Move ACPI device NULL check to acpi_get_driver_gpio_data()

It's logical to check ACPI device for NULL inside
acpi_get_driver_gpio_data() instead of requiring that
in each caller.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Andy Shevchenko 2023-01-30 18:13:45 +02:00
commit af3b462a8e