platform/x86: simatic-ipc: add auto-loading of hwmon modules
authorHenning Schild <henning.schild@siemens.com>
Thu, 13 Jul 2023 14:48:31 +0000 (16:48 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 14 Jul 2023 13:06:40 +0000 (15:06 +0200)
commit2533671f907c52d56eb37b7475fa6e256cebdf74
treeeca68ab3f3df5621a0d0332521f247ae1a1a969f
parent8529673adc2b022d40917b202b17bdabeef8e37a
platform/x86: simatic-ipc: add auto-loading of hwmon modules

In order to know which hwmon modules to load one would have to usually
first probe from user-land i.e. with sensors-detect and create a config
for each machine. But here we know exactly what machines we are dealing
with, so we can request those howmon modules without user-mode detection
and config files.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Link: https://lore.kernel.org/r/20230713144832.26473-3-henning.schild@siemens.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/simatic-ipc.c