Re: [PATCH 12/68] hwmon: corsair: constify pointers to hwmon_channel_info

2023-04-09 Thread Wilken Gottwalt
On Thu, 6 Apr 2023 22:30:07 +0200 Krzysztof Kozlowski wrote: > diff --git a/drivers/hwmon/corsair-psu.c b/drivers/hwmon/corsair-psu.c > index 2210aa62e3d0..dc24c566d08b 100644 > --- a/drivers/hwmon/corsair-psu.c > +++ b/drivers/hwmon/corsair-psu.c > @@ -571,7 +571,7 @@ static const struct hwmon_

[PATCH 12/68] hwmon: corsair: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/corsair-cpro.c | 2 +- drivers/hwmon/corsair-psu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/corsair-cpro.c b