Received: by 10.223.185.116 with SMTP id b49csp3672973wrg; Tue, 6 Mar 2018 03:06:46 -0800 (PST) X-Google-Smtp-Source: AG47ELuOkFhhfdbA2H+S5O9/KDdb5Z1Ha1G96yoyZUd41ORcFmqGpXBHbI5p0dEYcCQQMc93b913 X-Received: by 10.99.168.8 with SMTP id o8mr15005154pgf.246.1520334406293; Tue, 06 Mar 2018 03:06:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520334406; cv=none; d=google.com; s=arc-20160816; b=dKA0OtstESB4ZUSDIJWR9zeOgU2rOwrUgIoWj9EMfXg2P2PXp+HpJKOyHzECzIOADf M09mogTuCtgQOibziHik++o0ZR/wpADJb9VIQKmQzxJwwGfOqm+PJqfqJamdwsJTeJL4 4L2S0jhLgbNzeKlP0Xzf8EsdKaXalarTUv1ibOCMXA0nCq57Uedmp6XaKobamZT8YpTN 0eGpRRvFX5zQbmpATOIsmiHaXFEbTOhEzJAvawWKFdEOgjaO+zszYUHx63Hojxyqu5Zw lbWFThd3MKAUtzUbiCnxKXk+5xtHugTwxUls2u2Qoxyww3Ao6ClhZMIo1CylYpKLvPKv Ed6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=yr3zi8lWTNNWvhPstFHlxOZFfOLpPHDYA2pi07dy8ZY=; b=NWjiVT1/VNU5AdHzFXMXSkhHIDfPPStBajWn4AEhbVVjzO7J4njWYu9KSYOyD2h6Sf +ExooAMeo/Dth8vwXzQBa80wfKfzxPE0V8bTB+ppMZBrPViqvJ/xJGvVqx5W2sZ3F++o xb2HmyrHobG2HQt9Pq1EW/yg1qi8iC5s+zzVZsWgepRvujiyAHR9b5C2ueeTWyoOIHe+ x246LzFufMMtYD89GNXm548WtBMNIxzi+HMcPPh9C8iJDK5CN3qnzhoemK2rXrNDdM5Y eHb9oBhbLPB+Wtaohu2Bka5WftTNzX0c3DwRY2LI959+Nw4t2HQ17HH8w0mjMPh/bNgQ ROdg== 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 f20si2710355pff.252.2018.03.06.03.06.31; Tue, 06 Mar 2018 03:06:46 -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 S1753480AbeCFLEq (ORCPT + 99 others); Tue, 6 Mar 2018 06:04:46 -0500 Received: from regular1.263xmail.com ([211.150.99.136]:35438 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838AbeCFLEV (ORCPT ); Tue, 6 Mar 2018 06:04:21 -0500 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.190]) by regular1.263xmail.com (Postfix) with ESMTP id BA6894D for ; Tue, 6 Mar 2018 19:04:10 +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 7ECAD3C0; Tue, 6 Mar 2018 19:04:06 +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 24596FLV5OM; Tue, 06 Mar 2018 19:04:11 +0800 (CST) From: Jeffy Chen To: linux-kernel@vger.kernel.org Cc: Jeffy Chen , Arnd Bergmann , Lee Jones Subject: [PATCH v2 1/3] mfd: syscon: Set name of regmap_config Date: Tue, 6 Mar 2018 19:04:01 +0800 Message-Id: <20180306110403.14438-1-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.11.0 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 for syscon regmap, and not having a valid name will end up using "dummy" to create debugfs dir. Fixes: 9b947a13e7f6 ("regmap: use debugfs even when no device") Signed-off-by: Jeffy Chen --- drivers/mfd/syscon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index 7eaa40bc703f..250d22f40c84 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c @@ -109,6 +109,7 @@ static struct syscon *of_syscon_register(struct device_node *np) syscon_config.reg_stride = reg_io_width; syscon_config.val_bits = reg_io_width * 8; syscon_config.max_register = resource_size(&res) - reg_io_width; + syscon_config.name = of_node_full_name(np); regmap = regmap_init_mmio(NULL, base, &syscon_config); if (IS_ERR(regmap)) { -- 2.11.0