rtc: s3c: add s3c_rtc_data structure to use variant data instead of s3c_cpu_type
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 13 Oct 2014 22:52:33 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:17 +0000 (02:18 +0200)
commitae05c95074e0ead8a8fda4aca066e10270086e3f
treef6596bb217bd96544c67108122c6b9b495d774b0
parentd67288da51b782f54dd3ae1455b997131160fd41
rtc: s3c: add s3c_rtc_data structure to use variant data instead of s3c_cpu_type

Add s3c_rtc_data structure to variant data according to SoC type.  The
s3c_rtc_data structure includes some functions to control RTC operation
and specific data dependent on SoC type.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-s3c.c