[PATCH] thermal: devfreq_cooling: add const to struct thermal_cooling_device_ops

2018-04-08 Thread srplinux2008
From: srp linux Add the typecast constant to structure thermal_cooling_device_ops. This is the last argument to the function thermal_of_cooling_device_register and this argument is of type const. So, declare this structure thermal_cooling_device_ops as constant.

[PATCH] thermal: devfreq_cooling: add const to struct thermal_cooling_device_ops

2018-04-08 Thread srplinux2008
From: srp linux Add the typecast constant to structure thermal_cooling_device_ops. This is the last argument to the function thermal_of_cooling_device_register and this argument is of type const. So, declare this structure thermal_cooling_device_ops as constant. Signed-off-by: srp linux ---

[PATCH] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-04-08 Thread srplinux2008
From: srp linux Correct the typecast with const to struct thermal_cooling_device_ops. It is the last argument to the function thermal_of_cooling_device_register and this argument is of type const. So, declare this structure thermal_cooling_device_ops as constant.

[PATCH] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-04-08 Thread srplinux2008
From: srp linux Correct the typecast with const to struct thermal_cooling_device_ops. It is the last argument to the function thermal_of_cooling_device_register and this argument is of type const. So, declare this structure thermal_cooling_device_ops as constant. Signed-off-by: srp linux ---