platform/x86: x86-android-tablets: Change x86_instantiate_serdev() prototype
authorHans de Goede <hdegoede@redhat.com>
Wed, 4 Dec 2024 20:42:16 +0000 (21:42 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 10 Dec 2024 13:17:50 +0000 (15:17 +0200)
commitc1007dd139b6f8b2b00ba7bdce32a94c3da34dbe
treecde5606f1b4749aeff8aef200afa2fa5672b5be7
parenta6593c5c50455852cd3b2b51e09bdec90b99738f
platform/x86: x86-android-tablets: Change x86_instantiate_serdev() prototype

Make x86_instantiate_serdev() take a "struct x86_dev_info *" + idx as
arguments instead of a "struct x86_serdev_info *" + idx.

This makes the x86_instantiate_serdev() prototype match
the x86_instantiate_i2c_client() and x86_instantiate_spi_dev() prototypes.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241204204227.95757-6-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/core.c