From mboxrd@z Thu Jan 1 00:00:00 1970 From: "'Hans Ulli Kroll' via rtc-linux" Subject: Re: [PATCH] rtc: constify rtc_class_ops structures Date: Thu, 1 Sep 2016 12:21:26 +0200 (CEST) Message-ID: References: <1472630725-25465-1-git-send-email-Julia.Lawall@lip6.fr> Reply-To: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <1472630725-25465-1-git-send-email-Julia.Lawall-L2FTfq7BK8M@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Julia Lawall Cc: Alessandro Zummo , kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alexandre Courbot , Thierry Reding , Stephen Warren , Hans Ulli Kroll , Alexandre Belloni , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Wan ZongShun , Linus Walleij , Eddie Huang , linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Baruch Siach List-Id: linux-mediatek@lists.infradead.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