platform/x86: x86-android-tablets: Add gpio_keys support to x86_android_tablet_init()
authorHans de Goede <hdegoede@redhat.com>
Sun, 19 Feb 2023 21:50:19 +0000 (22:50 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 7 Mar 2023 11:08:31 +0000 (12:08 +0100)
commite2200d3f26dac108a519f014fb42a0a034105394
tree0b8ca3b4e8a0824a54f2e20c0427ad0879de5444
parentcc183ad4590bef3831c0688ccfa386c595adc428
platform/x86: x86-android-tablets: Add gpio_keys support to x86_android_tablet_init()

Add gpio_keys instantation support to x86_android_tablet_init(), to avoid
this having to be repeated in various x86_dev_info.init() functions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230301092331.7038-10-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets/asus.c
drivers/platform/x86/x86-android-tablets/core.c
drivers/platform/x86/x86-android-tablets/other.c
drivers/platform/x86/x86-android-tablets/x86-android-tablets.h