mbox series

[0/3] rtc: rtc-rs5c313: Fix and cleanups

Message ID 20200814110731.29029-1-geert+renesas@glider.be (mailing list archive)
Headers show
Series rtc: rtc-rs5c313: Fix and cleanups | expand

Message

Geert Uytterhoeven Aug. 14, 2020, 11:07 a.m. UTC
Hi Ale{ss,x}andr[oe],

This patch series fixes the RS5C313 RTC driver, which is used on the I-O
DATA USL-5P aka Landisk:

    -rs5c313 rs5c313: rs5c313_rtc_read_time: timeout error
     rs5c313 rs5c313: registered as rtc0
    -rs5c313 rs5c313: rs5c313_rtc_read_time: timeout error
    -rs5c313 rs5c313: hctosys: unable to read the hardware clock
    +rs5c313 rs5c313: setting system clock to 2020-08-14T01:04:12 UTC (1597367052)

and performs a few related code cleanups.

Thanks for your comments!

Geert Uytterhoeven (3):
  rtc: rtc-rs5c313: Drop obsolete platform_set_drvdata() call
  rtc: rtc-rs5c313: Fix late hardware init
  rtc: rtc-rs5c313: Convert to module_platform_driver()

 drivers/rtc/rtc-rs5c313.c | 34 +++++++---------------------------
 1 file changed, 7 insertions(+), 27 deletions(-)

Comments

Alexandre Belloni Aug. 20, 2020, 10:14 p.m. UTC | #1
On Fri, 14 Aug 2020 13:07:28 +0200, Geert Uytterhoeven wrote:
> 	Hi Ale{ss,x}andr[oe],
> 
> This patch series fixes the RS5C313 RTC driver, which is used on the I-O
> DATA USL-5P aka Landisk:
> 
>     -rs5c313 rs5c313: rs5c313_rtc_read_time: timeout error
>      rs5c313 rs5c313: registered as rtc0
>     -rs5c313 rs5c313: rs5c313_rtc_read_time: timeout error
>     -rs5c313 rs5c313: hctosys: unable to read the hardware clock
>     +rs5c313 rs5c313: setting system clock to 2020-08-14T01:04:12 UTC (1597367052)
> 
> [...]

Applied, thanks!

[1/3] rtc: rtc-rs5c313: Drop obsolete platform_set_drvdata() call
      commit: fc9656a370499e5a32425b715f8fed241e832458
[2/3] rtc: rtc-rs5c313: Fix late hardware init
      commit: f65e727464d7c0090f05548e8f323779eaa97eda
[3/3] rtc: rtc-rs5c313: Convert to module_platform_driver()
      commit: 163a512cd929d6db712a3021720362749653998b

Best regards,