[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a7cdde4f-6d50-b01c-7dd3-5360b8d0e8cf@linaro.org>
Date: Tue, 30 Oct 2018 17:20:43 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Julia Lawall <Julia.Lawall@...6.fr>,
Zhang Rui <rui.zhang@...el.com>
Cc: kernel-janitors@...r.kernel.org,
Eduardo Valentin <edubezval@...il.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] thermal: armada: constify thermal_zone_of_device_ops
structure
On 30/10/2018 16:14, Julia Lawall wrote:
> The thermal_zone_of_device_ops structure can be const as it is only
> passed as the last argument of devm_thermal_zone_of_sensor_register
> and the corresponding parameter is declared as const.
>
> Done with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@...6.fr>
>
> ---
> drivers/thermal/armada_thermal.c | 2 +-
Reviewed-by: Daniel Lezcano <daniel.lezcano@...aro.org>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists