platform/x86: x86-android-tablets: Store serdev-controller ACPI HID + UID in a union
authorHans de Goede <hdegoede@redhat.com>
Wed, 4 Dec 2024 20:42:17 +0000 (21:42 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 10 Dec 2024 13:17:52 +0000 (15:17 +0200)
commitdd6db239cb30ef1ccc0084a530839c9897009a6f
tree75717fc397a779e359faf358ce37785d47374c53
parentc1007dd139b6f8b2b00ba7bdce32a94c3da34dbe
platform/x86: x86-android-tablets: Store serdev-controller ACPI HID + UID in a union

Store the serdev-controller ACPI HID + UID in a union inside struct
x86_serdev_info.

This is a preparation patch for adding support for PCI enumerated serdev-
controllers which will be done by the devfn value of the PCI device.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241204204227.95757-7-hdegoede@redhat.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/x86-android-tablets/asus.c
drivers/platform/x86/x86-android-tablets/core.c
drivers/platform/x86/x86-android-tablets/lenovo.c
drivers/platform/x86/x86-android-tablets/x86-android-tablets.h