]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: x86-android-tablets: replace bat_swnode with swnode_group
authorHans de Goede <hansg@kernel.org>
Sat, 20 Sep 2025 20:07:05 +0000 (22:07 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 26 Sep 2025 11:26:31 +0000 (14:26 +0300)
commita0133db5cdc02a8b6588558ebd4ca423c2f8c8bc
tree6b7fee7e67935616165408f5ed55b53e02dec882
parent6564e5d2ea06b262d3e87785693fd3e8903bef03
platform/x86: x86-android-tablets: replace bat_swnode with swnode_group

Now that we are using software-nodes are used in more places it is
useful to have a more generic mechanism to have the core code register
software-nodes.

Replace the bat_swnode registration mechanism with a more generic
swnode_group registration mechanism.

Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hansg@kernel.org>
Link: https://patch.msgid.link/20250920200713.20193-13-hansg@kernel.org
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/shared-psy-info.c
drivers/platform/x86/x86-android-tablets/shared-psy-info.h
drivers/platform/x86/x86-android-tablets/x86-android-tablets.h