Home
last modified time | relevance | path

Searched hist:d8cc9415 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhwmon.cd8cc9415 Thu Apr 06 15:29:56 CDT 2023 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> hwmon: constify pointers to hwmon_channel_info

HWmon core receives an array of pointers to hwmon_channel_info and it
does not modify it, thus it can be array of const pointers for safety.
This allows drivers to make them also const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
/openbmc/linux/Documentation/hwmon/
H A Dhwmon-kernel-api.rstd8cc9415 Thu Apr 06 15:29:56 CDT 2023 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> hwmon: constify pointers to hwmon_channel_info

HWmon core receives an array of pointers to hwmon_channel_info and it
does not modify it, thus it can be array of const pointers for safety.
This allows drivers to make them also const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
/openbmc/linux/include/linux/
H A Dhwmon.hd8cc9415 Thu Apr 06 15:29:56 CDT 2023 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> hwmon: constify pointers to hwmon_channel_info

HWmon core receives an array of pointers to hwmon_channel_info and it
does not modify it, thus it can be array of const pointers for safety.
This allows drivers to make them also const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
/openbmc/linux/drivers/hwmon/
H A Dhwmon.cd8cc9415 Thu Apr 06 15:29:56 CDT 2023 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> hwmon: constify pointers to hwmon_channel_info

HWmon core receives an array of pointers to hwmon_channel_info and it
does not modify it, thus it can be array of const pointers for safety.
This allows drivers to make them also const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>