]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
hwmon: (dell-smm) Mark tables as __initconst
authorArmin Wolf <W_Armin@gmx.de>
Sat, 14 Aug 2021 14:36:34 +0000 (16:36 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 17 Aug 2021 21:54:27 +0000 (14:54 -0700)
commitc510f6accbba66af900d710a05b635581f4129f4
tree02a3d943c5be75d9df048427e5d9f4a8f12e3535
parent1125bacbf36cc53121cecba20d1def032881085d
hwmon: (dell-smm) Mark tables as __initconst

Both the config and the DMI tables never change and
are only used during module init for setting up
the device data struct.
Mark all of them as const and __initconst for a
smaller runtime memory footprint.

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