mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
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>
This commit is contained in:
parent
317ddd256b
commit
ec8da805c4
2 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ static struct mfd_cell tps6586x_cell[] = {
|
|||
.name = "tps6586x-gpio",
|
||||
},
|
||||
{
|
||||
.name = "tps6586x-pmic",
|
||||
.name = "tps6586x-regulator",
|
||||
},
|
||||
{
|
||||
.name = "tps6586x-rtc",
|
||||
|
|
|
@ -439,7 +439,7 @@ static int tps6586x_regulator_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver tps6586x_regulator_driver = {
|
||||
.driver = {
|
||||
.name = "tps6586x-pmic",
|
||||
.name = "tps6586x-regulator",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tps6586x_regulator_probe,
|
||||
|
|
Loading…
Add table
Reference in a new issue