platform/x86: dell-pc: Propagate errors when detecting feature support
authorKurt Borja <kuurtb@gmail.com>
Fri, 11 Apr 2025 14:36:41 +0000 (11:36 -0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 24 Apr 2025 12:51:49 +0000 (15:51 +0300)
commit4630b99d2e93a91b304f498c4d543c002fb78ca5
tree8d3d61c3b9b8d5f874cb4559946a45e7f11379fa
parent981527828c301644bc4014faa9c523e8a5e32a32
platform/x86: dell-pc: Propagate errors when detecting feature support

The dell-pc module only supports the thermal management Dell SMBIOS
feature, therefore it is pointless to have it loaded if this is not
available.

Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250411-dell-faux-v1-1-ea1f1c929b7e@gmail.com
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-pc.c