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/4] was already sent as a separate submission, but Alexandre Belloni asked me to set time range while at it. This is done in this series, in [PATCH 2/4]. So first two patches are basically moving S3C RTC driver to newer API usage. And last two patches fixing some error message which I noticed when doing the very first boot of my board (when RTC registers are not initialized with S3C driver yet). Patches 1/4 and 3/4 don't introduce any functional changes, only doing some refactoring and cleaning up. Sam Protsenko (4): rtc: s3c: Remove usage of devm_rtc_device_register() rtc: s3c: Add time range rtc: s3c: Extract read/write IO into separate functions rtc: s3c: Fix RTC read on first boot drivers/rtc/rtc-s3c.c | 137 +++++++++++++++++++++++++++++------------- 1 file changed, 96 insertions(+), 41 deletions(-) -- 2.30.2