diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-01-30 18:13:45 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-23 16:22:18 +0200 |
commit | af3b462a8e07bc5529e19f60d04a225bfce659e1 (patch) | |
tree | ca27aef9dd82b4af863344db62f8946bf3b31aa7 /drivers/gpio/gpio-wcd934x.c | |
parent | 5062e4c14b752a21aa24d6500ace6e251fde1d7c (diff) |
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>
Diffstat (limited to 'drivers/gpio/gpio-wcd934x.c')
0 files changed, 0 insertions, 0 deletions