]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: ideapad-laptop: Support multiple power_supply_ext definitions
authorRong Zhang <i@rong.moe>
Wed, 5 Nov 2025 18:28:26 +0000 (02:28 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 10 Nov 2025 09:55:41 +0000 (11:55 +0200)
commit5c54ece0476638f7c5fc655c655e721286a26bf1
tree96b68a3781b595300db41638ab17b6d5c3efbb25
parent85901a0d8591ecd756078e57be077f12a0ee78be
platform/x86: ideapad-laptop: Support multiple power_supply_ext definitions

Some recent devices supports more charge_types. To properly support
these device without breaking the existing ones, we need to define
multiple power_supply_ext for different GBMD/SBMC interface revisions.

No functional change intended.

Signed-off-by: Rong Zhang <i@rong.moe>
Link: https://patch.msgid.link/20251105182832.104946-4-i@rong.moe
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/lenovo/ideapad-laptop.c