提交 ec8da805 编写于 作者: M Marc Dietrich 提交者: Mark Brown

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: NMarc Dietrich <marvin24@gmx.de>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 317ddd25
...@@ -107,7 +107,7 @@ static struct mfd_cell tps6586x_cell[] = { ...@@ -107,7 +107,7 @@ static struct mfd_cell tps6586x_cell[] = {
.name = "tps6586x-gpio", .name = "tps6586x-gpio",
}, },
{ {
.name = "tps6586x-pmic", .name = "tps6586x-regulator",
}, },
{ {
.name = "tps6586x-rtc", .name = "tps6586x-rtc",
......
...@@ -439,7 +439,7 @@ static int tps6586x_regulator_remove(struct platform_device *pdev) ...@@ -439,7 +439,7 @@ static int tps6586x_regulator_remove(struct platform_device *pdev)
static struct platform_driver tps6586x_regulator_driver = { static struct platform_driver tps6586x_regulator_driver = {
.driver = { .driver = {
.name = "tps6586x-pmic", .name = "tps6586x-regulator",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = tps6586x_regulator_probe, .probe = tps6586x_regulator_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册