While working on Exynos850 support (where this driver works fine in its current state), I've stumbled upon some minor issue. This is the effort to fix those. * [PATCH 1/3]: moves S3C RTC driver to newer API usage (no functional changes) * [PATCH 2/3]: refactoring/cleanup (no functional changes) * [PATCH 3/3]: adds time range, as [PATCH 1/3] made it possible Changes in v2: - Dropped "rtc: s3c: Fix RTC read on first boot" patch - Switched the order for [PATCH 2/3] and [PATCH 3/3], so that the refactoring patch can stay w/o functional changes w.r.t. previous state - See also changelist for each particular patch Sam Protsenko (3): rtc: s3c: Remove usage of devm_rtc_device_register() rtc: s3c: Extract read/write IO into separate functions rtc: s3c: Add time range drivers/rtc/rtc-s3c.c | 106 ++++++++++++++++++++++++++---------------- 1 file changed, 65 insertions(+), 41 deletions(-) -- 2.30.2