diff options
author | Armin Wolf <W_Armin@gmx.de> | 2023-11-23 01:48:15 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-12-11 15:21:01 +0100 |
commit | 2615f1ee7f67a7be0c565abc4b54eb226ad0d79f (patch) | |
tree | 4374d511349fb59f170168a1b49b0d7a03e4c987 /drivers/hwmon/tmp421.c | |
parent | hwmon: (dell-smm) Move whitelist handling to module init (diff) | |
download | linux-2615f1ee7f67a7be0c565abc4b54eb226ad0d79f.tar.xz linux-2615f1ee7f67a7be0c565abc4b54eb226ad0d79f.zip |
hwmon: (dell-smm) Move DMI config handling to module init
Future SMM calling backends will not be able to probe during
module init, meaning the DMI tables holding config data would
have to drop their __initconst attribute.
Prevent this by moving the config handling to module init.
Tested-by: <serverror@serverror.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20231123004820.50635-5-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/tmp421.c')
0 files changed, 0 insertions, 0 deletions