Received: by 10.223.185.82 with SMTP id b18csp4119wrg; Thu, 8 Mar 2018 17:53:59 -0800 (PST) X-Google-Smtp-Source: AG47ELvW3S31qGhOmKvjmwoxpuCtfqjozISUnxUG6QsUQtfOCkbvV5ZF+VD6QK1tR4o6RIsTOk+Z X-Received: by 10.101.77.142 with SMTP id p14mr23211184pgq.106.1520560439123; Thu, 08 Mar 2018 17:53:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520560439; cv=none; d=google.com; s=arc-20160816; b=EfooGPy3nHd/ua2Rn+3XvxHXnhkGlsK5JHQM7K4UOv+pb23i/wVS9jsQrOfdHtJB1a AHr+GF2PD/UFUofqPFcH7pR8a5lqDuWV909xU5X+LCpOdWV+L4Xg6x6Pn4BfvMIh/wNb iF4i0DLYihT5rT90eUdNB8gMV4cPBGDShIcmDtoOEUqamCzg37kIM9OtA2orzgD5jw5t 0yFnpjunrdCeBoKC2CmzgTXATFEkJvUfgjIckX7g025VwaMp29MnEH5ZCfLmF+OUSIKG rWN5ISiSTLgdx+pH13YCL7xCUgre5F+MyCP+RbpDSG4cgi4IrwK6XvqwYqI5P18R8yIM mE1w== 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=zpFOx5QWSW2/IFmHJCZ3tJmV5e29ss2SbrR2MinsvEb2qckeA2/SWKhmLuJaOjr10m CLfad5dkuNdKoqOmfr9mwhywdGdwQfCjL7LaeOyadxLTpTOJaWlWEqh/XC0C2Chjpr69 AbIm7T/7GJkb9mu4LbXX9Am0J1TnhXwBI2W1x1RVJS4uEy2FKGBpkYwNh5YdptaPLpCh n6Ma7ZTe9RuUGBaV5XaDsniUYvuDj7ivZm9KhCtLNJvOUpICl+UdUhVCEx+SfidO5r/K sO+isFbrh2jrMl5N10x3e2WqJtApITlBiXe18IdMhdG9Az1JV3VNadeF8hLhP0t/DKmu cAvw== 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 o6-v6si15649928plh.287.2018.03.08.17.53.44; Thu, 08 Mar 2018 17:53:59 -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 S1752093AbeCIBwe (ORCPT + 99 others); Thu, 8 Mar 2018 20:52:34 -0500 Received: from regular1.263xmail.com ([211.150.99.140]:48080 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751723AbeCIBwc (ORCPT ); Thu, 8 Mar 2018 20:52:32 -0500 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.171]) by regular1.263xmail.com (Postfix) with ESMTP id 09C834B8E; Fri, 9 Mar 2018 09:52:30 +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 037283CB; Fri, 9 Mar 2018 09:52:22 +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: <149c5b89bc2b061e0c1592c93db6add5> 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 27197S0OOTF; Fri, 09 Mar 2018 09:52:27 +0800 (CST) From: Jeffy Chen To: linux-kernel@vger.kernel.org, broonie@kernel.org, alexandre.belloni@bootlin.com Cc: Jeffy Chen , linux-rtc@vger.kernel.org, Alessandro Zummo , Nicolas Ferre , linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 2/4] rtc: at91sam9: Set name of regmap_config Date: Fri, 9 Mar 2018 09:51:44 +0800 Message-Id: <20180309015146.8297-3-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180309015146.8297-1-jeffy.chen@rock-chips.com> References: <20180309015146.8297-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