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

From: Chen-Yu Tsai
Date: Mon Nov 23 2015 - 02:19:08 EST


On Thu, Nov 19, 2015 at 6:50 PM, LABBE Corentin
<clabbe.montjoie@xxxxxxxxx> 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@xxxxxxxxx>

Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/