[PATCH] rtc: constify rtc_class_ops structures

Linus Walleij linus.walleij at linaro.org
Thu Sep 1 03:32:28 PDT 2016


On Wed, Aug 31, 2016 at 10:05 AM, Julia Lawall <Julia.Lawall at lip6.fr> 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 <Julia.Lawall at lip6.fr>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list