Searched hist:d8cc9415a40f479b666fc03e7b1f4601868e6dc8 (Results 1 – 4 of 4) sorted by relevance
/linux/Documentation/hwmon/ |
H A D | hwmon-kernel-api.rst | diff d8cc9415a40f479b666fc03e7b1f4601868e6dc8 Thu Apr 06 22:29:56 CEST 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>
|
/linux/drivers/accel/habanalabs/common/ |
H A D | hwmon.c | diff d8cc9415a40f479b666fc03e7b1f4601868e6dc8 Thu Apr 06 22:29:56 CEST 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>
|
/linux/include/linux/ |
H A D | hwmon.h | diff d8cc9415a40f479b666fc03e7b1f4601868e6dc8 Thu Apr 06 22:29:56 CEST 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>
|
/linux/drivers/hwmon/ |
H A D | hwmon.c | diff d8cc9415a40f479b666fc03e7b1f4601868e6dc8 Thu Apr 06 22:29:56 CEST 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>
|