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.deSigned-off-by: Guenter Roeck <linux@roeck-us.net>
Showing
Please register or sign in to comment