diff options
-rw-r--r-- | drivers/regulator/palmas-regulator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 122fea432d38..aec2d76096dd 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c | |||
@@ -581,7 +581,7 @@ static void palmas_dt_to_pdata(struct device *dev, | |||
581 | } | 581 | } |
582 | 582 | ||
583 | 583 | ||
584 | static int palmas_probe(struct platform_device *pdev) | 584 | static int palmas_regulators_probe(struct platform_device *pdev) |
585 | { | 585 | { |
586 | struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); | 586 | struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); |
587 | struct palmas_pmic_platform_data *pdata = pdev->dev.platform_data; | 587 | struct palmas_pmic_platform_data *pdata = pdev->dev.platform_data; |
@@ -790,7 +790,7 @@ err_unregister_regulator: | |||
790 | return ret; | 790 | return ret; |
791 | } | 791 | } |
792 | 792 | ||
793 | static int palmas_remove(struct platform_device *pdev) | 793 | static int palmas_regulators_remove(struct platform_device *pdev) |
794 | { | 794 | { |
795 | struct palmas_pmic *pmic = platform_get_drvdata(pdev); | 795 | struct palmas_pmic *pmic = platform_get_drvdata(pdev); |
796 | int id; | 796 | int id; |
@@ -818,8 +818,8 @@ static struct platform_driver palmas_driver = { | |||
818 | .of_match_table = of_palmas_match_tbl, | 818 | .of_match_table = of_palmas_match_tbl, |
819 | .owner = THIS_MODULE, | 819 | .owner = THIS_MODULE, |
820 | }, | 820 | }, |
821 | .probe = palmas_probe, | 821 | .probe = palmas_regulators_probe, |
822 | .remove = palmas_remove, | 822 | .remove = palmas_regulators_remove, |
823 | }; | 823 | }; |
824 | 824 | ||
825 | static int __init palmas_init(void) | 825 | static int __init palmas_init(void) |