Received: by 10.223.185.116 with SMTP id b49csp6137731wrg; Thu, 8 Mar 2018 02:24:28 -0800 (PST) X-Google-Smtp-Source: AG47ELuVLsnBDbwKtuBBRfnx77c/peluHclrnXcdpZm0ooYGVqia4ly++Mgd3EikBMEwNRn6foka X-Received: by 10.101.82.12 with SMTP id o12mr20497242pgp.126.1520504668170; Thu, 08 Mar 2018 02:24:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520504668; cv=none; d=google.com; s=arc-20160816; b=EDiU2vc7a9MNjrZsBkMT/UA6pWiww+9dHx0poyeMJJlRrqagevRD5bqqzpkkGHVtt8 EKc1wxo2ghfLozL9sNKsfFUxYCHjDabDPSNKDQSGABhdG8zP42hbcr4Rvvwkynvlgfyo FGt/NG3aNW38m7hjgKx00m6IDl/pVp3M31+4HWKKWJnO+i2ef+sU7C5l8AN5E2PejeqC s/NmdOXpPGnyab/mHN1S84MVtAzaaiyvwCpobMdnQvaklmLVFCydSV9juN2yzxuV9j+K YHArV9BPrDOtaj7u4dLHFdGl569jb8GKzsEMFQ/AFxblvp2nlmmUdSbXVVk0epNA4rwy 8pow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=maxvBW6zzAmGI4h4u3uWZzGp2YhzlmPbPtcnzv0qsFc=; b=KJH1FSiDAoKHt5G6huvMZgXbrClm6AM1Re6VXfzDIngaLrBOz9gbG1MXAlJeQEE3Hk 3951m+nJIMicUZ4kn8yPCosnmokBUTDzy/5+JyNuCseb3iWXdogaxeuqc4Bt9Z74eCgO UblbS47iuLNHPCYNAHY33IkiVM/ipifqCv0fhXiNFDjErJhMeXu3PsXABP4tUvC6Lz8j SQ1WBe84sYvzfTrqOgavPT7LSQqfDT7G7rozNrMZC6Qhnif/DhE1/DawIBTt4k6S5upd J8/4DfKJ8qdA2HC75jsQP4S0OiwJbxWOUiVq8m3uQ9LgZve0qcccfbzEezko3hGF/oYf cdbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j10si12728117pgq.431.2018.03.08.02.24.14; Thu, 08 Mar 2018 02:24:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965023AbeCHKW5 (ORCPT + 99 others); Thu, 8 Mar 2018 05:22:57 -0500 Received: from regular1.263xmail.com ([211.150.99.132]:44713 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934899AbeCHKWX (ORCPT ); Thu, 8 Mar 2018 05:22:23 -0500 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.16]) by regular1.263xmail.com (Postfix) with ESMTP id E117A9407; Thu, 8 Mar 2018 18:22:18 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id C4E9F39C; Thu, 8 Mar 2018 18:22:16 +0800 (CST) X-RL-SENDER: jeffy.chen@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: jeffy.chen@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-SENDER: cjf@rock-chips.com X-DNS-TYPE: 0 Received: from localhost (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 4642GE2266; Thu, 08 Mar 2018 18:22:20 +0800 (CST) From: Jeffy Chen To: linux-kernel@vger.kernel.org, broonie@kernel.org Cc: Jeffy Chen , linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , Nicolas Ferre , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 2/4] rtc: at91sam9: Pass pdev->dev to regmap_init_mmio() Date: Thu, 8 Mar 2018 18:21:52 +0800 Message-Id: <20180308102154.25686-3-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180308102154.25686-1-jeffy.chen@rock-chips.com> References: <20180308102154.25686-1-jeffy.chen@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Otherwise it would use "dummy*" to create regmap debugfs dir. Signed-off-by: Jeffy Chen --- Changes in v3: None drivers/rtc/rtc-at91sam9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 7418a763ce52..0d6a17a77841 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b/drivers/rtc/rtc-at91sam9.c @@ -402,7 +402,7 @@ static int at91_rtc_probe(struct platform_device *pdev) if (IS_ERR(gpbr)) return PTR_ERR(gpbr); - rtc->gpbr = regmap_init_mmio(NULL, gpbr, + rtc->gpbr = regmap_init_mmio(&pdev->dev, gpbr, &gpbr_regmap_config); } else { struct of_phandle_args args; -- 2.11.0