platform/x86: wmi: Mark GUID-based WMI interface as deprecated
authorArmin Wolf <W_Armin@gmx.de>
Mon, 24 Apr 2023 22:29:37 +0000 (00:29 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 9 May 2023 09:54:42 +0000 (11:54 +0200)
commitd54bd4bc7b9ae9505f53440894b8c239c521f3da
tree647a34ef21897e04ad09a9facc7682bdfde159bd
parentb4cc979588ee94b179e28c6f3f5c2d6197ea6461
platform/x86: wmi: Mark GUID-based WMI interface as deprecated

The WMI driver core supports a more mordern bus-based interface for
interacting with WMI devices. The older GUID-based interface depends
on each WMI GUID and notification id being unique on a given system,
which turned out is not the case.
Mark the older interface as deprecated since new WMI drivers should
use the bus-based interface to avoid this issues.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20230424222939.208137-3-W_Armin@gmx.de
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/wmi.c