]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Revert "mfd: syscon: Set name of regmap_config"
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 13 Nov 2019 10:22:26 +0000 (12:22 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 13 Nov 2019 11:07:40 +0000 (11:07 +0000)
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.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/syscon.c

index 660723276481c7960806c5e8124aa94278f8e4b2..e22197c832e84cca8669bc5989094e592dfcdc37 100644 (file)
@@ -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)) {