rtc: s3c: define s3c_rtc structure to remove global variables.
authorChanwoo Choi <[email protected]>
Mon, 13 Oct 2014 22:52:28 +0000 (15:52 -0700)
committerLinus Torvalds <[email protected]>
Tue, 14 Oct 2014 00:18:17 +0000 (02:18 +0200)
commit19be09f51d36101e4dc1577eb73ff8397bedd0a3
treec276a76314358e8236ae637f75fffd151ac0df8c
parent473b86451276d6d342ecd26d5e503163c30ea974
rtc: s3c: define s3c_rtc structure to remove global variables.

Define s3c_rtc structure including necessary variables for S3C RTC device
instead of global variables.  This patch improves the readability by
removing global variables.

Signed-off-by: Chanwoo Choi <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Kukjin Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-s3c.c