Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1306619

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

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] rtc: rtc-ds2404: constify ds2404_chip_ops structures
Date 2016-01-11 20:30 +0100
Message-ID <qPQka-6HH-11@gated-at.bofh.it> (permalink)
References <qLwk2-3qb-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@lip6.fr>
> 
> ---
>  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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] rtc: rtc-ds2404: constify ds2404_chip_ops structures Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-01-11 20:30 +0100

csiph-web