commit | 2e2b496cebefb9514fc04adcb4658df4f82ceb0d | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Nov 11 23:35:33 2020 +0200 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Nov 16 14:14:35 2020 +0200 |
tree | b718b55a1a5b3a1eb41e57fc6b6c947928a69b95 | |
parent | bca404802ceade19d7649a840178c415316814cc [diff] |
gpiolib: acpi: Extract acpi_request_own_gpiod() helper It appears that we are using similar code excerpts for ACPI OpRegion and event handling. Deduplicate those excerpts by extracting a new acpi_request_own_gpiod() helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>