Re: [PATCH] ufs: hwmon: constify pointers to hwmon_channel_info

From: Bart Van Assche
Date: Fri Apr 07 2023 - 14:30:46 EST


On 4/7/23 08:01, Krzysztof Kozlowski wrote:
-static const struct hwmon_channel_info *ufs_hwmon_info[] = {
+static const struct hwmon_channel_info * const ufs_hwmon_info[] = {
HWMON_CHANNEL_INFO(temp, HWMON_T_ENABLE | HWMON_T_INPUT | HWMON_T_CRIT | HWMON_T_LCRIT),
NULL
};

A nit: to me the use of whitespace in this patch does not seem to be compliant with the Linux kernel coding style.

Thanks,

Bart.