Re: [PATCH] iwlwifi: mvm: add const to thermal_cooling_device_ops structure

From: Luca Coelho
Date: Wed Jun 28 2017 - 07:51:31 EST


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 <bhumirks@xxxxxxxxx>
> ---

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.

--
Cheers,
Luca.