diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-09-19 05:33:17 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-24 08:09:15 -0400 |
commit | 8f1585aa73a7987cd9b5ee502f42297a28303278 (patch) | |
tree | 3a02234a13d4e13c9d39b98c9cbbe5e0a3107682 /drivers/regulator | |
parent | 52b7ad3a63a42b76f4f07cba876479a3c416f1e8 (diff) |
regulator: Finish mc13783 conversion to the mc13xxx API
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/mc13783-regulator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/mc13783-regulator.c b/drivers/regulator/mc13783-regulator.c index 730f43ad415..cb2841feeef 100644 --- a/drivers/regulator/mc13783-regulator.c +++ b/drivers/regulator/mc13783-regulator.c | |||
@@ -336,9 +336,9 @@ static int __devinit mc13783_regulator_probe(struct platform_device *pdev) | |||
336 | { | 336 | { |
337 | struct mc13xxx_regulator_priv *priv; | 337 | struct mc13xxx_regulator_priv *priv; |
338 | struct mc13xxx *mc13783 = dev_get_drvdata(pdev->dev.parent); | 338 | struct mc13xxx *mc13783 = dev_get_drvdata(pdev->dev.parent); |
339 | struct mc13783_regulator_platform_data *pdata = | 339 | struct mc13xxx_regulator_platform_data *pdata = |
340 | dev_get_platdata(&pdev->dev); | 340 | dev_get_platdata(&pdev->dev); |
341 | struct mc13783_regulator_init_data *init_data; | 341 | struct mc13xxx_regulator_init_data *init_data; |
342 | int i, ret; | 342 | int i, ret; |
343 | 343 | ||
344 | dev_dbg(&pdev->dev, "%s id %d\n", __func__, pdev->id); | 344 | dev_dbg(&pdev->dev, "%s id %d\n", __func__, pdev->id); |
@@ -381,7 +381,7 @@ err: | |||
381 | static int __devexit mc13783_regulator_remove(struct platform_device *pdev) | 381 | static int __devexit mc13783_regulator_remove(struct platform_device *pdev) |
382 | { | 382 | { |
383 | struct mc13xxx_regulator_priv *priv = platform_get_drvdata(pdev); | 383 | struct mc13xxx_regulator_priv *priv = platform_get_drvdata(pdev); |
384 | struct mc13783_regulator_platform_data *pdata = | 384 | struct mc13xxx_regulator_platform_data *pdata = |
385 | dev_get_platdata(&pdev->dev); | 385 | dev_get_platdata(&pdev->dev); |
386 | int i; | 386 | int i; |
387 | 387 | ||