aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/palmas-regulator.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-27 15:06:08 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-27 15:06:08 -0500
commitb87d07b13c779c42e4929e590003c9eb8c2f06fa (patch)
tree9fbe55b61e176e783e5c6d6063733079d0274948 /drivers/regulator/palmas-regulator.c
parent77b71b370ed06c75bdebef09be438d5275f70fc1 (diff)
parent8dc995f56ef7aedb41873fdeaa1971f3aa166ebd (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.c8
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
598static void __devinit palmas_dt_to_pdata(struct device *dev, 598static 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
666static __devinit int palmas_probe(struct platform_device *pdev) 666static 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
871static int __devexit palmas_remove(struct platform_device *pdev) 871static 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
896static int __init palmas_init(void) 896static int __init palmas_init(void)