Received: by 10.223.185.111 with SMTP id b44csp56428wrg; Fri, 9 Mar 2018 00:47:12 -0800 (PST) X-Google-Smtp-Source: AG47ELugwvwu78hMMMbYURPvYsoj3sb6gZM+DG2yhpPSqINbLc2dd/FEMnNr8y2AiPIJVFHysywg X-Received: by 10.101.91.133 with SMTP id i5mr23119612pgr.20.1520585232156; Fri, 09 Mar 2018 00:47:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520585232; cv=none; d=google.com; s=arc-20160816; b=HB8HR0hfO+q7vUQcc6mIvfwTUZujCKaUbD8/K+Pnzc4iPwFhb2EHcf5eAcpHpyAo2n C/UpzV1opLsSK2ZpFMX7mg/WR33VioQOUJuKa5BpOIgO16zUGOWwhY4+zykmWJf7FzAV ov+98x30h4TUU9EtjI9YTLVtnk86WRooVxRXnxFqG5JX36S7j0oWMFOnSG8GkAgQ6mn0 GvCfTSvaQ3DmLDryeJ3fPJUcX6uF7VKF4ihkEmsFCbdROCad3cTENFV1FuH8eiqZdVLM py5yzr8IX7BMZybUclxywFFAMY1BEOxjHCrhKZjdneYROj8Pak6UXYjcB1BU7u+MBrFD xoEg== 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=7Ip+hQEhapXMb4uV6ga7rXAGPTEnxXg8PptDLbkfBxM=; b=YIHSLzw6czHeX+eAM6pFPDAyrnbfe/ZyJvLNWfsJB1eaYFP5gJx3BVD3rJE5JMoV7G 2w0BxsQZbVLc4QyanIe3/hWlnWkILtqOv3wolV2pRkG06d0FzrnioTBakh/aUUGzVbvf L74LL7AgFL43xz6Etu5GZihubcxKB2Ot2BALFqglWSR38cavuUiHiTcGD4cNvhDHdbcJ eLRY6XTKUBfcfeW658vJbqlP2/MKKyirBbIfJsmRTv9T16DsceTO3rH1WEG8/XzW364L OUcfzRB7bAPK9AsVgxCMdTykyoLIrjuvJqvPuKili5z725AoRJukRQrjgSXfT8nkuD1i fh8Q== 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 p5-v6si515922pls.238.2018.03.09.00.46.57; Fri, 09 Mar 2018 00:47:12 -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 S1752151AbeCIIpe (ORCPT + 99 others); Fri, 9 Mar 2018 03:45:34 -0500 Received: from regular1.263xmail.com ([211.150.99.130]:41624 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbeCIIpb (ORCPT ); Fri, 9 Mar 2018 03:45:31 -0500 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.43]) by regular1.263xmail.com (Postfix) with ESMTP id 1C3C0B186; Fri, 9 Mar 2018 16:45:24 +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 C92243C1; Fri, 9 Mar 2018 16:45: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 15876FJQYT; Fri, 09 Mar 2018 16:45:24 +0800 (CST) From: Jeffy Chen To: linux-kernel@vger.kernel.org, broonie@kernel.org, alexandre.belloni@bootlin.com Cc: Guenter Roeck , Arnd Bergmann , Joseph Lo , Rob Herring , Catalin Marinas , Emil Renner Berthing , Heiko Stuebner , Brian Norris , Thomas Gleixner , Philippe Ombredanne , linux-rockchip@lists.infradead.org, Kate Stewart , linux-input@vger.kernel.org, Will Deacon , Jeffy Chen , Matthias Kaehlcke , devicetree@vger.kernel.org, stephen lu , Greg Kroah-Hartman , Arvind Yadav , linux-arm-kernel@lists.infradead.org, Dmitry Torokhov , Mark Rutland , linux-rtc@vger.kernel.org, Alessandro Zummo , Nicolas Ferre Subject: [RESEND PATCH v4 2/4] rtc: at91sam9: Set name of regmap_config Date: Fri, 9 Mar 2018 16:43:49 +0800 Message-Id: <20180309084351.32009-3-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180309084351.32009-1-jeffy.chen@rock-chips.com> References: <20180309084351.32009-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 We are now allowing to register debugfs without a valid device, and not having a valid name will end up using "dummy*" to create debugfs dir. Signed-off-by: Jeffy Chen --- Changes in v4: Not to use rtc dev to init regmap, the gpbr is not directly related to the rtc. Changes in v3: None drivers/rtc/rtc-at91sam9.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 7418a763ce52..ee71e647fd43 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b/drivers/rtc/rtc-at91sam9.c @@ -349,6 +349,7 @@ static const struct rtc_class_ops at91_rtc_ops = { }; static const struct regmap_config gpbr_regmap_config = { + .name = "gpbr", .reg_bits = 32, .val_bits = 32, .reg_stride = 4, -- 2.11.0