platform/x86: wmi: Remove chardev interface
authorArmin Wolf <W_Armin@gmx.de>
Sun, 10 Dec 2023 20:24:43 +0000 (21:24 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 11 Dec 2023 10:24:11 +0000 (11:24 +0100)
commit704af3a40747e395b67892127943e6ffd5e2b642
tree47663b67467e3850643ab97ba85b10133f5e944a
parent93885e85a77f25a1de57d47572a00633717fe1d4
platform/x86: wmi: Remove chardev interface

The design of the WMI chardev interface is broken:
- it assumes that WMI drivers are not instantiated twice
- it offers next to no abstractions, the WMI driver gets
a raw byte buffer
- it is only used by a single driver, something which is
unlikely to change

Since the only user (dell-smbios-wmi) has been migrated
to his own ioctl interface, remove it.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20231210202443.646427-6-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/wmi.c
include/linux/wmi.h