]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: core: constify 'type' in devm_thermal_of_cooling_device_register()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 3 Jul 2024 08:31:41 +0000 (10:31 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Jul 2024 12:25:20 +0000 (14:25 +0200)
commit4acab508eb03dc1827db6005764de29299e07569
tree4e3c9d3cef4dbd0d0081af0ed98b6ba319ceffe2
parent6fb75c967162c28b2a50cb4673cce36e0e70e3dc
thermal: core: constify 'type' in devm_thermal_of_cooling_device_register()

The 'type' string passed to thermal_of_cooling_device_register() is a
'const char *', so do the same in the devm interface.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240703083141.96013-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/thermal_core.c
include/linux/thermal.h