[PATCH] rtc: constify rtc_class_ops structures
Hans Ulli Kroll
ulli.kroll at googlemail.com
Thu Sep 1 03:21:26 PDT 2016
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 at lip6.fr>
for drivers/rtc/rtc-gemini.c
Acked-by: Hans Ulli Kroll <ulli.kroll at googlemail.com>
More information about the linux-arm-kernel
mailing list