Re: [PATCH] memory: tegra: Constify struct thermal_cooling_device_ops
From: Krzysztof Kozlowski
Date: Mon Nov 29 2021 - 04:14:27 EST
On Sun, 28 Nov 2021 21:41:58 +0100, Rikard Falkeborn wrote:
> The only usage of tegra210_emc_cd_ops is to pass its address to
> devm_thermal_of_cooling_device_register() which is a pointer to const
> struct thermal_cooling_device_ops. Make it const to allow the compiler
> to put it in read-only memory.
>
>
Applied, thanks!
[1/1] memory: tegra: Constify struct thermal_cooling_device_ops
commit: 56985dc4f437d7a77d4abede73191da20cf11429
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>