platform/x86: x86-android-tablets: Add a comment about x86_android_tablet_get_gpiod()
authorHans de Goede <hdegoede@redhat.com>
Mon, 11 Sep 2023 21:09:28 +0000 (23:09 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 12 Sep 2023 08:16:25 +0000 (10:16 +0200)
commiteee9cd5d25f1be6120fdf1c90c81324d22b4cc49
tree3cf4fb84c31f9bc4f2012949aeac5239c0a7327d
parent9578db7939fcfa0bdfa6ab767fd0386adf2302eb
platform/x86: x86-android-tablets: Add a comment about x86_android_tablet_get_gpiod()

Add a comment explaining why the special x86_android_tablet_get_gpiod()
helper is necessary for some of the GPIOs used in the x86-android-tablets;
and that for normal GPIO lookups this example should not be followed.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20230911210928.264908-1-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets/core.c