Re: [PATCH] rtc: constify rtc_class_ops structures

From: Linus Walleij
Date: Thu Sep 01 2016 - 06:32:35 EST


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

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij