Re: [PATCH] rtc: constify rtc_class_ops structures

From: Hans Ulli Kroll
Date: Thu Sep 01 2016 - 06:22:46 EST


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 <Julia.Lawall@xxxxxxx>

for drivers/rtc/rtc-gemini.c

Acked-by: Hans Ulli Kroll <ulli.kroll@xxxxxxxxxxxxxx>