[PATCH] rtc: constify rtc_class_ops structures
From: Linus Walleij <hidden>
Date: 2016-09-01 10:32:33
Also in:
kernel-janitors, linux-mediatek, linux-rtc, linux-tegra, lkml
From: Linus Walleij <hidden>
Date: 2016-09-01 10:32:33
Also in:
kernel-janitors, linux-mediatek, linux-rtc, linux-tegra, lkml
On Wed, Aug 31, 2016 at 10:05 AM, Julia Lawall [off-list ref] 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.
(...)
Signed-off-by: Julia Lawall <redacted>
Acked-by: Linus Walleij <redacted> Yours, Linus Walleij