power: supply: hwmon: constify pointers to hwmon_channel_info
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 7 Apr 2023 15:03:26 +0000 (17:03 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 8 May 2023 13:33:16 +0000 (15:33 +0200)
commit67fce5963b202acc410776cc180c307192dca9d2
treee29ef1705a17b6852d1eb2708ce64f77ed1ae233
parent32fe18d0340d88e8ab6e5ecf57211276b9ac39bf
power: supply: hwmon: 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: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_hwmon.c