Searched hist:d8cc9415 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | hwmon.c | d8cc9415 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 D | hwmon-kernel-api.rst | d8cc9415 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 D | hwmon.h | d8cc9415 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 D | hwmon.c | d8cc9415 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>
|