hwmon: ltc2947: constify pointers to hwmon_channel_info
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 6 Apr 2023 20:30:26 +0000 (22:30 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 19 Apr 2023 14:08:36 +0000 (07:08 -0700)
commit53dc67eb935c8a3e18a06d10847cd761bd715ac4
tree2aa75dbc556cde92f91f009e835ea7d7259d030d
parentbf36b752ca464582a0ec67fedf647d841071320e
hwmon: ltc2947: 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/ltc2947-core.c