hwmon: intel-m10-bmc: constify pointers to hwmon_channel_info
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 6 Apr 2023 20:30:16 +0000 (22:30 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 19 Apr 2023 14:08:35 +0000 (07:08 -0700)
commite374c4100b6154f80aaf12af39c67a942b519a87
treeaf4f8c743fba6e792f323532ff5f316b78656f34
parent324399753854b8aaa6a621902a33e77f4425e7cf
hwmon: intel-m10-bmc: constify pointers to hwmon_channel_info

Statically allocated array of pointed to hwmon_channel_info can be made
const for safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/intel-m10-bmc-hwmon.c