regulator: Finish mc13783 conversion to the mc13xxx API
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
52b7ad3a63
commit
8f1585aa73
@ -336,9 +336,9 @@ static int __devinit mc13783_regulator_probe(struct platform_device *pdev)
|
|||||||
{
|
{
|
||||||
struct mc13xxx_regulator_priv *priv;
|
struct mc13xxx_regulator_priv *priv;
|
||||||
struct mc13xxx *mc13783 = dev_get_drvdata(pdev->dev.parent);
|
struct mc13xxx *mc13783 = dev_get_drvdata(pdev->dev.parent);
|
||||||
struct mc13783_regulator_platform_data *pdata =
|
struct mc13xxx_regulator_platform_data *pdata =
|
||||||
dev_get_platdata(&pdev->dev);
|
dev_get_platdata(&pdev->dev);
|
||||||
struct mc13783_regulator_init_data *init_data;
|
struct mc13xxx_regulator_init_data *init_data;
|
||||||
int i, ret;
|
int i, ret;
|
||||||
|
|
||||||
dev_dbg(&pdev->dev, "%s id %d\n", __func__, pdev->id);
|
dev_dbg(&pdev->dev, "%s id %d\n", __func__, pdev->id);
|
||||||
@ -381,7 +381,7 @@ err:
|
|||||||
static int __devexit mc13783_regulator_remove(struct platform_device *pdev)
|
static int __devexit mc13783_regulator_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct mc13xxx_regulator_priv *priv = platform_get_drvdata(pdev);
|
struct mc13xxx_regulator_priv *priv = platform_get_drvdata(pdev);
|
||||||
struct mc13783_regulator_platform_data *pdata =
|
struct mc13xxx_regulator_platform_data *pdata =
|
||||||
dev_get_platdata(&pdev->dev);
|
dev_get_platdata(&pdev->dev);
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user