Revert "mfd: syscon: Set name of regmap_config"
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Jeffy Chen <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/mfd/syscon.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/syscon.c +0 -1
@@ -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)) {
Signature · 1 line
2.24.0
Lee Jones
AppliedQuoted 6 lines · Andy Shevchenko
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.
Quoted 7 lines
Cc David Lechner <[email protected]>Cc Arnd Bergmann <[email protected]>Cc Jeffy Chen <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>--- drivers/mfd/syscon.c | 1 - 1 file changed, 1 deletion(-)
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog