]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: s3c: define s3c_rtc structure to remove global variables.
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 13 Oct 2014 22:52:28 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:17 +0000 (02:18 +0200)
commit33db6073c428a4f731c209a04aa2e437e0bc17ff
treec276a76314358e8236ae637f75fffd151ac0df8c
parenta6329d930ab5df28e2ee453e063f0bdc064d08a9
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 <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