From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [PATCH 1/2] thermal: armada: constify thermal_zone_of_device_ops structure Date: Tue, 30 Oct 2018 17:20:43 +0100 Message-ID: References: <1540912500-21941-1-git-send-email-Julia.Lawall@lip6.fr> <1540912500-21941-2-git-send-email-Julia.Lawall@lip6.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <1540912500-21941-2-git-send-email-Julia.Lawall@lip6.fr> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Julia Lawall , Zhang Rui Cc: kernel-janitors@vger.kernel.org, Eduardo Valentin , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org 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 > > --- > drivers/thermal/armada_thermal.c | 2 +- Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog