Commit ec8da805c43a6cc0252dad0ff6e348c731e0b138

Authored by Marc Dietrich
Committed by Mark Brown
1 parent 317ddd256b

mfd: tps6586x: correct device name of the regulator cell

Change the device name of the regulator function to the one chosen for
MODULE_ALIAS. This fixes kernel auto-module loading for the regulator function.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Mark Brown <broonie@linaro.org>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

drivers/mfd/tps6586x.c
... ... @@ -107,7 +107,7 @@
107 107 .name = "tps6586x-gpio",
108 108 },
109 109 {
110   - .name = "tps6586x-pmic",
  110 + .name = "tps6586x-regulator",
111 111 },
112 112 {
113 113 .name = "tps6586x-rtc",
drivers/regulator/tps6586x-regulator.c
... ... @@ -439,7 +439,7 @@
439 439  
440 440 static struct platform_driver tps6586x_regulator_driver = {
441 441 .driver = {
442   - .name = "tps6586x-pmic",
  442 + .name = "tps6586x-regulator",
443 443 .owner = THIS_MODULE,
444 444 },
445 445 .probe = tps6586x_regulator_probe,