[PATCH 2/3] rtc: sunxi: constify the data_year_param structure

Chen-Yu Tsai wens at csie.org
Sun Nov 22 23:18:27 PST 2015


On Thu, Nov 19, 2015 at 6:50 PM, LABBE Corentin
<clabbe.montjoie at gmail.com> wrote:
> The data_year_param struct is never modified, so lets constify it.
> This permit to remove cast since of_device_id is const also.
>
> Signed-off-by: LABBE Corentin <clabbe.montjoie at gmail.com>

Acked-by: Chen-Yu Tsai <wens at csie.org>



More information about the linux-arm-kernel mailing list