diff options
-rw-r--r-- | drivers/mfd/pcf50633-core.c | 2 | ||||
-rw-r--r-- | drivers/regulator/pcf50633-regulator.c | 2 |
2 files changed, 2 insertions, 2 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, | |||
245 | for (i = 0; i < PCF50633_NUM_REGULATORS; i++) { | 245 | for (i = 0; i < PCF50633_NUM_REGULATORS; i++) { |
246 | struct platform_device *pdev; | 246 | struct platform_device *pdev; |
247 | 247 | ||
248 | pdev = platform_device_alloc("pcf50633-regltr", i); | 248 | pdev = platform_device_alloc("pcf50633-regulator", i); |
249 | if (!pdev) { | 249 | if (!pdev) { |
250 | dev_err(pcf->dev, "Cannot create regulator %d\n", i); | 250 | dev_err(pcf->dev, "Cannot create regulator %d\n", i); |
251 | continue; | 251 | continue; |
diff --git a/drivers/regulator/pcf50633-regulator.c b/drivers/regulator/pcf50633-regulator.c index d7da1c15a6da..134f90ec9ca1 100644 --- a/drivers/regulator/pcf50633-regulator.c +++ b/drivers/regulator/pcf50633-regulator.c | |||
@@ -105,7 +105,7 @@ static int pcf50633_regulator_probe(struct platform_device *pdev) | |||
105 | 105 | ||
106 | static struct platform_driver pcf50633_regulator_driver = { | 106 | static struct platform_driver pcf50633_regulator_driver = { |
107 | .driver = { | 107 | .driver = { |
108 | .name = "pcf50633-regltr", | 108 | .name = "pcf50633-regulator", |
109 | }, | 109 | }, |
110 | .probe = pcf50633_regulator_probe, | 110 | .probe = pcf50633_regulator_probe, |
111 | }; | 111 | }; |