Thread (6 messages) 6 messages, 6 authors, 2016-09-02

[PATCH] rtc: constify rtc_class_ops structures

From: ulli.kroll@googlemail.com (Hans Ulli Kroll)
Date: 2016-09-01 10:22:42
Also in: kernel-janitors, linux-mediatek, linux-rtc, linux-tegra, lkml

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 <redacted>
for drivers/rtc/rtc-gemini.c

Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help