platform/x86: x86-android-tablets: Move core code into new core.c file
authorHans de Goede <hdegoede@redhat.com>
Sun, 19 Feb 2023 16:32:42 +0000 (17:32 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 7 Mar 2023 11:08:30 +0000 (12:08 +0100)
commit62a5f689a068951de5ed8487ec7f0de52245bd92
tree9452a3fe2ec1e07c0937d245e779b9556e114eab
parentafdcb5353f06cf5ddee3999f7e6353e889a50edc
platform/x86: x86-android-tablets: Move core code into new core.c file

Move the helpers to get IRQs + GPIOs as well as the core code for
instantiating all the devices missing from ACPI into a new core.c file.

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-4-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets/Makefile
drivers/platform/x86/x86-android-tablets/core.c [new file with mode: 0644]
drivers/platform/x86/x86-android-tablets/x86-android-tablets-main.c
drivers/platform/x86/x86-android-tablets/x86-android-tablets.h [new file with mode: 0644]