Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp154626pxb; Thu, 14 Jan 2021 02:25:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKpopNcrHIG0nd+PdGJcixNOJadAKe99Cg7kEEmyqDyPUSTkG2DuASlhqqQGIryqU4JeLq X-Received: by 2002:a50:ce13:: with SMTP id y19mr5225093edi.241.1610619925328; Thu, 14 Jan 2021 02:25:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610619925; cv=none; d=google.com; s=arc-20160816; b=S4NiB4zKmnmgmEuP0kn6g7MSBrRAPoSaKrXc+Qe9SNKHt/6kTOPxZjgrQA1qdyi8yw 4WUJkJIYmdcKJihyLRZ6N57cweqkZcKJ9LgOgy4118Yt5yLXyupSeM4yjfvH4OfSmKQb druI+gSPwZZ8VMM/uD9lj9tqzwNnfrT8/OrZHzzcQAY0YUmJ1nRwu6DHK6yXh+R+vp0h mntZMOuZ9YvAxmQsbFLQjQgF171VOpAmjmhbrop1irKP4ZQ85GwNz5kLnMQdLOPNC3H6 n/YFJ0rfnR3ZBgILatFhWQPALD6FH2UngV0qla8prCqmwDMRoVrH92mmrGmElGfcwC6y wmdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TDBOHLIzbUobbB/H8vBPt1OXjZemmTv6BVFzaBtUnnA=; b=Jq7Zpj6Aw5ymls2HuX8PyX7wFXcJFAS2YqqvvjPnhAKxc1lNO1l0Q8N8dyABOUcGFE eFkWybheYodlCXE+m4LC0CQV0w72Xt6mEdLwzcNYUMmnaG+XxaQGRW4UVz6q0EZFwPMq 4nRRf5T5M5D5WGiQyl1dXoTawBifXq/qFlyRDNtF7EfuPcYs3pkugs4SwPTTNDfHNtTL S3cCU332o1wCZRQ7bNILx9qutWlovraKf/2m1b0FMOKirnQnOeyNnZ+3Czxa84H1rD/D 3AwVCzIdkFEF8pgKrXO4V3KEp7nICGAkNVmKLLhlRPrmLWwytw1D7KXQnZ9XjTycAr8s 5K3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=vkadCAqk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du21si1979291ejc.238.2021.01.14.02.25.00; Thu, 14 Jan 2021 02:25:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=vkadCAqk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727130AbhANKXE (ORCPT + 99 others); Thu, 14 Jan 2021 05:23:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbhANKXD (ORCPT ); Thu, 14 Jan 2021 05:23:03 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F15F1C061573 for ; Thu, 14 Jan 2021 02:22:23 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id y23so4185171wmi.1 for ; Thu, 14 Jan 2021 02:22:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TDBOHLIzbUobbB/H8vBPt1OXjZemmTv6BVFzaBtUnnA=; b=vkadCAqk5+2FVW0RSnQ2RReuN+Ncfp0p3LHyEsMIxgG1AG6L38MculRERwD8h1JBXq x4bL1kIScSX0vyT8Slp72d2Up1UezdewatH4h5bYtmii6h1FIJR0RwgNjm27m2EK/JC+ QsiMYxXBYsv6QEgjr2vdw0ffmjkm6eWNU5Aksn7Kv9bLQChG3/RfphR3ygJr8+1ovFiC nFPpOTyZY7u755QXnvn8FlX3GwDnvZ1Q5YnJisOcPF4l2FceSPNabB/7JK9lSJrjj+aC cLFBlp86yVyvSY2v3s9cjKpj/vkPe96/Tw198/KM2CLax+6ICjmFL3fJ3LX8sEd9BRE2 ba6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TDBOHLIzbUobbB/H8vBPt1OXjZemmTv6BVFzaBtUnnA=; b=PCThjucy0zqtzD67tuRkHeFq83oC1BhSH5kEg5t9QOoHUa5wFGzIOaMpe8x/sNroRR hU5gPuc65RKvKZ5lfX5dIvtWAKwfClG8n782/6F1tKba1CB1zBARDFGXwvM15m3T/aaP B0GqfXbqr5OmYnMv4dxu20YsULy/6rC+aJAcvRhzU1OCPDybPjrtOXfFndR7BqpTnaF4 fUXeRKiRl6wJtCGlr+s7gqcL3TvaMhWDNOXkJyDOaKwGRqRqpC7RGF1tvHGxC1qM+3Uk KowmuQAPsDGBt40ck68+hjJNyBZVQrSM0DbBR8TfAEobWuT/nnEMxKePq08ieSCNya/0 3w2g== X-Gm-Message-State: AOAM533KoW2cnEcnjSVUZ3T0g+2Rry5+JzHmsnxz9CjDK6tRkiiUILbL n6IPQXUZ3HMoN67tAjalPmRP7Q== X-Received: by 2002:a7b:c85a:: with SMTP id c26mr3152510wml.160.1610619742692; Thu, 14 Jan 2021 02:22:22 -0800 (PST) Received: from debian-brgl.home (amarseille-656-1-4-167.w90-8.abo.wanadoo.fr. [90.8.158.167]) by smtp.gmail.com with ESMTPSA id l7sm2468467wmg.41.2021.01.14.02.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 02:22:22 -0800 (PST) From: Bartosz Golaszewski To: Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-rtc@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v5 0/3] rtc: s5m: driver improvements Date: Thu, 14 Jan 2021 11:22:16 +0100 Message-Id: <20210114102219.23682-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.29.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski This is a set of improvements for the rtc-s5m driver. The first patch is new in v4: I noticed the I2C regmap is not selected by this driver's Kconfig. Two subsequent patches were already submitted separately. v1 -> v2: - remove the remove() callback v2 -> v3: - fix an error pointed out by the build robot v3 -> v4: - add patch 1/3: ("rtc: s5m: select REGMAP_I2C") - fix issues raised by the kernel bot v4 -> v5: - change the order of the patches to keep them bisectable Bartosz Golaszewski (3): rtc: s5m: select REGMAP_I2C rtc: s5m: use devm_i2c_new_dummy_device() rtc: s5m: check the return value of s5m8767_rtc_init_reg() drivers/rtc/Kconfig | 1 + drivers/rtc/rtc-s5m.c | 33 +++++++++------------------------ 2 files changed, 10 insertions(+), 24 deletions(-) -- 2.29.1