diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-27 15:06:08 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-27 15:06:08 -0500 |
commit | b87d07b13c779c42e4929e590003c9eb8c2f06fa (patch) | |
tree | 9fbe55b61e176e783e5c6d6063733079d0274948 /drivers/regulator/palmas-regulator.c | |
parent | 77b71b370ed06c75bdebef09be438d5275f70fc1 (diff) | |
parent | 8dc995f56ef7aedb41873fdeaa1971f3aa166ebd (diff) |
Merge branch 'topic/hotplug' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-max8997
Conflicts:
drivers/regulator/max8997.c
Diffstat (limited to 'drivers/regulator/palmas-regulator.c')
-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 07aee694ba92..3d445929cc80 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c | |||
@@ -595,7 +595,7 @@ static struct of_regulator_match palmas_matches[] = { | |||
595 | { .name = "ldousb", }, | 595 | { .name = "ldousb", }, |
596 | }; | 596 | }; |
597 | 597 | ||
598 | static void __devinit palmas_dt_to_pdata(struct device *dev, | 598 | static void palmas_dt_to_pdata(struct device *dev, |
599 | struct device_node *node, | 599 | struct device_node *node, |
600 | struct palmas_pmic_platform_data *pdata) | 600 | struct palmas_pmic_platform_data *pdata) |
601 | { | 601 | { |
@@ -663,7 +663,7 @@ static void __devinit palmas_dt_to_pdata(struct device *dev, | |||
663 | } | 663 | } |
664 | 664 | ||
665 | 665 | ||
666 | static __devinit int palmas_probe(struct platform_device *pdev) | 666 | static int palmas_probe(struct platform_device *pdev) |
667 | { | 667 | { |
668 | struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); | 668 | struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); |
669 | struct palmas_pmic_platform_data *pdata = pdev->dev.platform_data; | 669 | struct palmas_pmic_platform_data *pdata = pdev->dev.platform_data; |
@@ -868,7 +868,7 @@ err_unregister_regulator: | |||
868 | return ret; | 868 | return ret; |
869 | } | 869 | } |
870 | 870 | ||
871 | static int __devexit palmas_remove(struct platform_device *pdev) | 871 | static int palmas_remove(struct platform_device *pdev) |
872 | { | 872 | { |
873 | struct palmas_pmic *pmic = platform_get_drvdata(pdev); | 873 | struct palmas_pmic *pmic = platform_get_drvdata(pdev); |
874 | int id; | 874 | int id; |
@@ -890,7 +890,7 @@ static struct platform_driver palmas_driver = { | |||
890 | .owner = THIS_MODULE, | 890 | .owner = THIS_MODULE, |
891 | }, | 891 | }, |
892 | .probe = palmas_probe, | 892 | .probe = palmas_probe, |
893 | .remove = __devexit_p(palmas_remove), | 893 | .remove = palmas_remove, |
894 | }; | 894 | }; |
895 | 895 | ||
896 | static int __init palmas_init(void) | 896 | static int __init palmas_init(void) |