diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-11-30 05:21:03 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-02 18:58:58 +0100 |
commit | 561427f5ea106d57a8a84113c89ecf23a5c865bb (patch) | |
tree | 305beb7e60d29c6776a9104ac1ff13bf443f2c64 /drivers/mfd | |
parent | Linux 3.13-rc1 (diff) | |
download | linux-561427f5ea106d57a8a84113c89ecf23a5c865bb.tar.xz linux-561427f5ea106d57a8a84113c89ecf23a5c865bb.zip |
mfd: pcf50633: Correct device name for pcf50633 regulator
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: Axel Lin <axel.lin@ingics.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/pcf50633-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c index 6841d6805fd6..41ab5e34d2ac 100644 --- a/drivers/mfd/pcf50633-core.c +++ b/drivers/mfd/pcf50633-core.c @@ -245,7 +245,7 @@ static int pcf50633_probe(struct i2c_client *client, for (i = 0; i < PCF50633_NUM_REGULATORS; i++) { struct platform_device *pdev; - pdev = platform_device_alloc("pcf50633-regltr", i); + pdev = platform_device_alloc("pcf50633-regulator", i); if (!pdev) { dev_err(pcf->dev, "Cannot create regulator %d\n", i); continue; |