[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191113102226.71492-1-andriy.shevchenko@linux.intel.com>
Date: Wed, 13 Nov 2019 12:22:26 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: linux-kernel@...r.kernel.org, Lee Jones <lee.jones@...aro.org>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
David Lechner <david@...hnology.com>,
Arnd Bergmann <arnd@...db.de>,
Jeffy Chen <jeffy.chen@...k-chips.com>
Subject: [PATCH v1] Revert "mfd: syscon: Set name of regmap_config"
This reverts commit 500f9ff518cf55930c670b0e2b8901caf70a7548.
The original commit is a duplication of the exactly previously added
commit 408d1d570a63 ("mfd: syscon: Set regmap name to DT node name").
Revert the unnecessary later one.
Cc: David Lechner <david@...hnology.com>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Jeffy Chen <jeffy.chen@...k-chips.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
---
drivers/mfd/syscon.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
index 660723276481..e22197c832e8 100644
--- a/drivers/mfd/syscon.c
+++ b/drivers/mfd/syscon.c
@@ -105,7 +105,6 @@ static struct syscon *of_syscon_register(struct device_node *np, bool check_clk)
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.24.0
Powered by blists - more mailing lists