platform/x86: dell-privacy: Remove usage of wmi_has_guid()
authorArmin Wolf <W_Armin@gmx.de>
Fri, 23 Feb 2024 16:29:05 +0000 (17:29 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 27 Feb 2024 12:45:27 +0000 (14:45 +0200)
commitf9ccdb4285a61a24db7dee61f19c4252fdd153c2
treeed816965011e2be1feb0221f0cf4f903c9eed4fe
parent86682be1e82b18ece4391ca4cfd58fb422058952
platform/x86: dell-privacy: Remove usage of wmi_has_guid()

The WMI driver core already takes care that the WMI driver is
only bound to WMI devices with a matching GUID.

Remove the unnecessary call to wmi_has_guid(), which will always
be true when the driver probes.

Tested on a Dell Inspiron 3505.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240223162905.12416-1-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/dell/dell-wmi-privacy.c