platform/x86: wmi: Remove obsolete duplicate GUID allowlist
authorArmin Wolf <W_Armin@gmx.de>
Mon, 26 Feb 2024 19:35:57 +0000 (20:35 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 12 Mar 2024 10:47:40 +0000 (12:47 +0200)
commitf86f09ad9ab234a90eef8bba6239b3ca82dc281e
tree6219e61059fa5ff0a5a8c43d4a5ccaef764dce1b
parenta66ccfc2535418b536b1203b65f87c4f501f6bdd
platform/x86: wmi: Remove obsolete duplicate GUID allowlist

The whitelist-based approach for preventing older WMI drivers from
being instantiated multiple times has many drawbacks:

- uses cannot see all available WMI devices (if not whitelisted)
- whitelisting a WMI driver requires changes in the WMI driver core
- maintenance burden for driver and subsystem developers

Since the WMI driver core already takes care that older WMI drivers
are not being instantiated multiple times, remove the now redundant
whitelist.

Tested on a ASUS Prime B650-Plus.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20240226193557.2888-3-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/wmi.c