diff options
author | Krzysztof Kozlowski | 2014-06-10 15:18:44 -0700 |
---|---|---|
committer | Linus Torvalds | 2014-06-10 15:34:47 -0700 |
commit | f8b23bbdad5dfb50af101a56c58ad4e83510a9a6 (patch) | |
tree | a82f4e1d56794b98e882aa0cff641284a70c3444 /drivers/rtc/rtc-ds1302.c | |
parent | 0c5f5d9af311013aabc519b68df19533d0d51cda (diff) |
rtc: s5m: support different register layout
Prepare for adding support for S2MPS14 RTC device to the rtc-s5m driver:
1. Add a map of registers used by the driver which differ between
the chipsets (S5M876X and S2MPS14).
2. Move code of checking for alarm pending to separate function.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1302.c')
0 files changed, 0 insertions, 0 deletions