hwmon: (dell-smm-hwmon) Mark functions as __init
authorArmin Wolf <W_Armin@gmx.de>
Wed, 28 Jul 2021 22:15:53 +0000 (00:15 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 17 Aug 2021 21:54:25 +0000 (14:54 -0700)
commitc9363cdf3aab9f48c3c8bd8bfa77dcfd3a3a92d2
treecd66b2a9e90826f29d6cda3241ff48ab63293c40
parent1492fa21c0ba531e3ae4fc1b5cdaaf96603bf800
hwmon: (dell-smm-hwmon) Mark functions as __init

i8k_get_dmi_data() and i8k_get_dell_signature() are
only called during module init and probe, which both
are marked as __init.
Also mark these function as __init to lower the runtime
memory footprint.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Pali Rohár <pali@kernel.org>
Tested-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20210728221557.8891-3-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c