From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932638AbcIAKWm (ORCPT ); Thu, 1 Sep 2016 06:22:42 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:35377 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752549AbcIAKWh (ORCPT ); Thu, 1 Sep 2016 06:22:37 -0400 Date: Thu, 1 Sep 2016 12:21:26 +0200 (CEST) From: Hans Ulli Kroll X-X-Sender: elektroman@T520 To: Julia Lawall cc: Alessandro Zummo , kernel-janitors@vger.kernel.org, linux-tegra@vger.kernel.org, Alexandre Courbot , Thierry Reding , Stephen Warren , Hans Ulli Kroll , Alexandre Belloni , linux-arm-kernel@lists.infradead.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, Wan ZongShun , Linus Walleij , Eddie Huang , linux-mediatek@lists.infradead.org, Baruch Siach Subject: Re: [PATCH] rtc: constify rtc_class_ops structures In-Reply-To: <1472630725-25465-1-git-send-email-Julia.Lawall@lip6.fr> Message-ID: References: <1472630725-25465-1-git-send-email-Julia.Lawall@lip6.fr> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Julia On Wed, 31 Aug 2016, Julia Lawall wrote: > Check for rtc_class_ops structures that are only passed to > devm_rtc_device_register, rtc_device_register, > platform_device_register_data, all of which declare the corresponding > parameter as const. Declare rtc_class_ops structures that have these > properties as const. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > > Signed-off-by: Julia Lawall for drivers/rtc/rtc-gemini.c Acked-by: Hans Ulli Kroll