aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ab3100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/ab3100.c')
-rw-r--r--drivers/regulator/ab3100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c
index 3be9e46594a1..7d5eaa874b2d 100644
--- a/drivers/regulator/ab3100.c
+++ b/drivers/regulator/ab3100.c
@@ -660,7 +660,7 @@ ab3100_regulator_of_probe(struct platform_device *pdev, struct device_node *np)
660 660
661static int ab3100_regulators_probe(struct platform_device *pdev) 661static int ab3100_regulators_probe(struct platform_device *pdev)
662{ 662{
663 struct ab3100_platform_data *plfdata = pdev->dev.platform_data; 663 struct ab3100_platform_data *plfdata = dev_get_platdata(&pdev->dev);
664 struct device_node *np = pdev->dev.of_node; 664 struct device_node *np = pdev->dev.of_node;
665 int err = 0; 665 int err = 0;
666 u8 data; 666 u8 data;