diff options
author | Hans de Goede <[email protected]> | 2023-09-09 16:18:14 +0200 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-09-11 13:28:58 +0200 |
commit | 4014ae236b1d490f5db798d159a03470aec71a40 (patch) | |
tree | e06e84bc010b70add95b10c5a7fb51687cefe440 /net/lapb/lapb_subr.c | |
parent | 8b57d33a6fdbb53d03da762b31e65a1027f74caf (diff) |
platform/x86: x86-android-tablets: Stop using gpiolib private APIs
Refactor x86_android_tablet_get_gpiod() to no longer use
gpiolib private functions like gpiochip_find().
As a bonus this allows specifying that the GPIO is active-low,
like the /CE (charge enable) pin on the bq25892 charger on
the Lenovo Yoga Tablet 3.
Reported-by: Bartosz Golaszewski <[email protected]>
Closes: https://lore.kernel.org/platform-driver-x86/[email protected]/
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions