public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] Revert "mfd: syscon: Set name of regmap_config"
@ 2019-11-13 10:22 Andy Shevchenko
  2019-11-13 11:27 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2019-11-13 10:22 UTC (permalink / raw)
  To: linux-kernel, Lee Jones
  Cc: Andy Shevchenko, David Lechner, Arnd Bergmann, Jeffy Chen

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@lechnology.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] Revert "mfd: syscon: Set name of regmap_config"
  2019-11-13 10:22 [PATCH v1] Revert "mfd: syscon: Set name of regmap_config" Andy Shevchenko
@ 2019-11-13 11:27 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2019-11-13 11:27 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linux-kernel, David Lechner, Arnd Bergmann, Jeffy Chen

On Wed, 13 Nov 2019, Andy Shevchenko wrote:

> 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@lechnology.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Jeffy Chen <jeffy.chen@rock-chips.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/mfd/syscon.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-13 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-13 10:22 [PATCH v1] Revert "mfd: syscon: Set name of regmap_config" Andy Shevchenko
2019-11-13 11:27 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox