From patchwork Fri Aug 14 11:07:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 11714363 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 95AC0618 for ; Fri, 14 Aug 2020 11:07:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 78DFD206DA for ; Fri, 14 Aug 2020 11:07:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726139AbgHNLHj (ORCPT ); Fri, 14 Aug 2020 07:07:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbgHNLHi (ORCPT ); Fri, 14 Aug 2020 07:07:38 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F28DC061386 for ; Fri, 14 Aug 2020 04:07:37 -0700 (PDT) Received: from ramsan ([84.195.186.194]) by albert.telenet-ops.be with bizsmtp id FP7Y2300N4C55Sk06P7YYF; Fri, 14 Aug 2020 13:07:33 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1k6XYa-0003r5-Bi; Fri, 14 Aug 2020 13:07:32 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1k6XYa-0007Z0-9O; Fri, 14 Aug 2020 13:07:32 +0200 From: Geert Uytterhoeven To: Alessandro Zummo , Alexandre Belloni Cc: Nobuhiro Iwamatsu , kogiidena , Adrian Glaubitz , linux-rtc@vger.kernel.org, linux-sh@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/3] rtc: rtc-rs5c313: Fix and cleanups Date: Fri, 14 Aug 2020 13:07:28 +0200 Message-Id: <20200814110731.29029-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org 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(-)