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>
Loading
Please register or sign in to comment