hwmon: as370: constify pointers to hwmon_channel_info
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 6 Apr 2023 20:30:04 +0000 (22:30 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 19 Apr 2023 14:08:34 +0000 (07:08 -0700)
commit69a1ffca989e0b43afda1b8c93a43433a1c9ec60
tree7d6478ce3af439621365ace43ce2cd21bec6dd7f
parent832dc5106e813b4dc942bce27f89819f8d21fbd7
hwmon: as370: 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/as370-hwmon.c