Declare thermal_cooling_device_ops structure as const as it is only passed
as an argument to the function thermal_cooling_device_register and this
argument is of type const. So, declare the structure as const.
Signed-off-by: Bhumika Goyal <redacted>
---
drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Wed, 2017-06-21 at 14:10 +0530, Bhumika Goyal wrote:
Declare thermal_cooling_device_ops structure as const as it is only passed
as an argument to the function thermal_cooling_device_register and this
argument is of type const. So, declare the structure as const.
Signed-off-by: Bhumika Goyal <redacted>
---
Thanks, we're reviewing this internally. It looks fine, but I need to
assess whether this will have any impacts in our backports project
before we can apply it.
On Wed, 2017-06-28 at 14:49 +0300, Luca Coelho wrote:
On Wed, 2017-06-21 at 14:10 +0530, Bhumika Goyal wrote:
quoted
Declare thermal_cooling_device_ops structure as const as it is only passed
as an argument to the function thermal_cooling_device_register and this
argument is of type const. So, declare the structure as const.
Signed-off-by: Bhumika Goyal <redacted>
---
Thanks, we're reviewing this internally. It looks fine, but I need to
assess whether this will have any impacts in our backports project
before we can apply it.
This has been applied in our internal tree and will eventually land in
the mainline.
Thanks!