Skip to content

Commit

Permalink
Revert "mfd: syscon: Set name of regmap_config"
Browse files Browse the repository at this point in the history
This reverts commit 500f9ff.

The original commit is a duplication of the exactly previously added
commit 408d1d5 ("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>
  • Loading branch information
Andy Shevchenko authored and Lee Jones committed Nov 13, 2019
1 parent de98a43 commit edfaeaf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mfd/syscon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit edfaeaf

Please sign in to comment.