[PATCH 0/4] x86-android-tablets: convert to using GPIO references

From: Dmitry Torokhov
Date: Thu May 11 2023 - 20:18:24 EST


Hi Hans,

This series came about because now software nodes can be used to
describe GPIOs (via PROPERTY_ENTRY_GPIO() macros) and I would like to
eventually get rid of gpio_keys_platform_data structure.

So while I was doing the conversions from GPIO_LOOKUP() tables for
gpio_keys devices I decided to convert the rest of them as well. Maybe
some time in the future we can drop support for GPIO_LOOKUP() and rely
on device properties exclusively.

This is completely untested.

Thanks.

Dmitry Torokhov (4):
platform/x86: x86-android-tablets: convert Goodix devices to GPIO references
platform/x86: x86-android-tablets: convert int3496 devices to GPIO references
platform/x86: x86-android-tablets: convert wm1502 devices to GPIO references
platform/x86: x86-android-tablets: convert gpio_keys devices to GPIO references

drivers/platform/x86/x86-android-tablets.c | 355 ++++++++++++---------
1 file changed, 201 insertions(+), 154 deletions(-)

--
Dmitry