diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-02-05 20:13:53 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-02-11 10:46:47 +0100 |
commit | 381d785d9eefd2516985f662c71fde1f028b014d (patch) | |
tree | 86d56b3c66f3edde7129a90771bf0edd60ad16f7 /Kbuild | |
parent | de7601a681bf74ea0ce025f0461e9452afeaeead (diff) | |
download | linux-stable-381d785d9eefd2516985f662c71fde1f028b014d.tar.gz linux-stable-381d785d9eefd2516985f662c71fde1f028b014d.tar.bz2 linux-stable-381d785d9eefd2516985f662c71fde1f028b014d.zip |
platform/x86: x86-android-tablets: Add x86_android_tablet_get_gpiod() helper
Factor the code to go from a gpiochip label + pin-numer to a gpio_desc
out of x86_acpi_irq_helper_get() and make it into a new
x86_android_tablet_get_gpiod() helper, as this will be necessary in some
x86_dev_info.init() functions too.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220205191356.225505-3-hdegoede@redhat.com
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions