]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: lenovo-wmi-{capdata,other}: Support multiple Capability Data
authorRong Zhang <i@rong.moe>
Tue, 20 Jan 2026 18:20:04 +0000 (02:20 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 21 Jan 2026 08:49:52 +0000 (10:49 +0200)
commit4ff1a029531441a27288eed8ba57d48fe11ba79a
treef20b166eb7eae4572dd719c87e31857a51a50895
parentf28d76b17561bd5f1b7b2c8f139a00158218c2d2
platform/x86: lenovo-wmi-{capdata,other}: Support multiple Capability Data

The current implementation are heavily bound to capdata01. Rewrite it so
that it is suitable to utilize other Capability Data as well.

No functional change intended.

Signed-off-by: Rong Zhang <i@rong.moe>
Reviewed-by: Derek J. Clark <derekjohn.clark@gmail.com>
Tested-by: Derek J. Clark <derekjohn.clark@gmail.com>
Link: https://patch.msgid.link/20260120182104.163424-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/wmi-capdata.c
drivers/platform/x86/lenovo/wmi-capdata.h
drivers/platform/x86/lenovo/wmi-other.c