rtc: sunxi: constify the data_year_param structure
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Thu, 19 Nov 2015 10:50:09 +0000 (11:50 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 11 Jan 2016 19:19:56 +0000 (20:19 +0100)
commit6ddab92faa2d7d7b38cb2b228f7fdfd1eecba5e2
tree67438b4026600f87cf49b017992f0d304cea27c2
parentf8947feb2c0196dafa7683f557eb8dddfb1ae167
rtc: sunxi: constify the data_year_param structure

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@gmail.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-sunxi.c