public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 1/2] platform/x86: dell-sysman: remove match on www.dell.com
@ 2024-10-04  2:41 Crag Wang
  2024-10-04  2:41 ` [PATCHv3 2/2] platform/x86: dell-sysman: add support for alienware products Crag Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Crag Wang @ 2024-10-04  2:41 UTC (permalink / raw)
  To: mario.limonciello, Prasanth Ksr, Hans de Goede,
	Ilpo Järvinen
  Cc: crag.wang, Crag Wang, Dell.Client.Kernel, platform-driver-x86,
	linux-kernel

The URL is dynamic and may change according to the OEM. It was mainly used
for old systems that do not have "Dell System" in the OEM String.

Signed-off-by: Crag Wang <crag_wang@dell.com>
---
 drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
index 9def7983d7d6..c05474f1ed70 100644
--- a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
+++ b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
@@ -520,8 +520,7 @@ static int __init sysman_init(void)
 {
 	int ret = 0;
 
-	if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) &&
-	    !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {
+	if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL)) {
 		pr_err("Unable to run on non-Dell system\n");
 		return -ENODEV;
 	}
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-04 14:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-04  2:41 [PATCHv3 1/2] platform/x86: dell-sysman: remove match on www.dell.com Crag Wang
2024-10-04  2:41 ` [PATCHv3 2/2] platform/x86: dell-sysman: add support for alienware products Crag Wang
2024-10-04 13:45 ` [PATCHv3 1/2] platform/x86: dell-sysman: remove match on www.dell.com Ilpo Järvinen
2024-10-04 13:50 ` Hans de Goede
2024-10-04 14:30   ` Wang, Crag

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox