From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Date: Mon, 11 Jan 2016 19:25:30 +0000 Subject: Re: [PATCH] rtc: rtc-ds2404: constify ds2404_chip_ops structures Message-Id: <20160111192530.GD3367@piout.net> List-Id: References: <1451509174-6343-1-git-send-email-Julia.Lawall@lip6.fr> In-Reply-To: <1451509174-6343-1-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julia Lawall Cc: Alessandro Zummo , kernel-janitors@vger.kernel.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org 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 > > --- > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.free-electrons.com (down.free-electrons.com. [37.187.137.238]) by gmr-mx.google.com with ESMTP id 5si357791wmm.2.2016.01.11.11.25.30 for ; Mon, 11 Jan 2016 11:25:30 -0800 (PST) Date: Mon, 11 Jan 2016 20:25:30 +0100 From: Alexandre Belloni To: Julia Lawall Cc: Alessandro Zummo , kernel-janitors@vger.kernel.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: [rtc-linux] Re: [PATCH] rtc: rtc-ds2404: constify ds2404_chip_ops structures Message-ID: <20160111192530.GD3367@piout.net> References: <1451509174-6343-1-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <1451509174-6343-1-git-send-email-Julia.Lawall@lip6.fr> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 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 > > --- > 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 -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934526AbcAKTZd (ORCPT ); Mon, 11 Jan 2016 14:25:33 -0500 Received: from down.free-electrons.com ([37.187.137.238]:50359 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934509AbcAKTZb (ORCPT ); Mon, 11 Jan 2016 14:25:31 -0500 Date: Mon, 11 Jan 2016 20:25:30 +0100 From: Alexandre Belloni To: Julia Lawall Cc: Alessandro Zummo , kernel-janitors@vger.kernel.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rtc: rtc-ds2404: constify ds2404_chip_ops structures Message-ID: <20160111192530.GD3367@piout.net> References: <1451509174-6343-1-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1451509174-6343-1-git-send-email-Julia.Lawall@lip6.fr> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > --- > 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