Re: [PATCH] rtc: rtc-ds2404: constify ds2404_chip_ops structures

From: Alexandre Belloni
Date: Mon Jan 11 2016 - 14:25:36 EST


On 30/12/2015 at 21:59:34 +0100, Julia Lawall wrote :
> The ds2404_chip_ops structure is never modified, so declare it as const.
>
> Done with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> ---
> drivers/rtc/rtc-ds2404.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Applied, thanks.

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com