platform/x86: x86-android-tablets: Pass struct device to init()
authorHans de Goede <hdegoede@redhat.com>
Thu, 9 May 2024 14:12:05 +0000 (16:12 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 14 May 2024 09:43:40 +0000 (11:43 +0200)
commit492b1194b2bace8925f8a166680621248c7ec543
treeb28838a8faccb0c114fd46007a167195b9fbf0b8
parentac0729c1258a12bbda6815ebf59a4910cf7c9097
platform/x86: x86-android-tablets: Pass struct device to init()

Pass a struct device pointer for x86_android_tablet_device to the board
specific init() functions, so that these functions can use this for
e.g. devm_*() functions.

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