aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/wm831x-dcdc.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 22:42:55 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 22:42:55 -0500
commit1f9cc5f7716d664bfe32289ca61327be01a0a8e3 (patch)
tree06b29c20a1d0c195fbf5513fdfb860cb38f09420 /drivers/regulator/wm831x-dcdc.c
parent207f30894a8469849d9f5663149d966ff4d411e8 (diff)
parent8dc995f56ef7aedb41873fdeaa1971f3aa166ebd (diff)
Merge remote-tracking branch 'regulator/topic/hotplug' into regulator-next
Diffstat (limited to 'drivers/regulator/wm831x-dcdc.c')
-rw-r--r--drivers/regulator/wm831x-dcdc.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c
index 416fe0a37f56..bce25658e12e 100644
--- a/drivers/regulator/wm831x-dcdc.c
+++ b/drivers/regulator/wm831x-dcdc.c
@@ -387,7 +387,7 @@ static struct regulator_ops wm831x_buckv_ops = {
387 * Set up DVS control. We just log errors since we can still run 387 * Set up DVS control. We just log errors since we can still run
388 * (with reduced performance) if we fail. 388 * (with reduced performance) if we fail.
389 */ 389 */
390static __devinit void wm831x_buckv_dvs_init(struct wm831x_dcdc *dcdc, 390static void wm831x_buckv_dvs_init(struct wm831x_dcdc *dcdc,
391 struct wm831x_buckv_pdata *pdata) 391 struct wm831x_buckv_pdata *pdata)
392{ 392{
393 struct wm831x *wm831x = dcdc->wm831x; 393 struct wm831x *wm831x = dcdc->wm831x;
@@ -448,7 +448,7 @@ static __devinit void wm831x_buckv_dvs_init(struct wm831x_dcdc *dcdc,
448 } 448 }
449} 449}
450 450
451static __devinit int wm831x_buckv_probe(struct platform_device *pdev) 451static int wm831x_buckv_probe(struct platform_device *pdev)
452{ 452{
453 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 453 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
454 struct wm831x_pdata *pdata = wm831x->dev->platform_data; 454 struct wm831x_pdata *pdata = wm831x->dev->platform_data;
@@ -562,7 +562,7 @@ err:
562 return ret; 562 return ret;
563} 563}
564 564
565static __devexit int wm831x_buckv_remove(struct platform_device *pdev) 565static int wm831x_buckv_remove(struct platform_device *pdev)
566{ 566{
567 struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev); 567 struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
568 struct wm831x *wm831x = dcdc->wm831x; 568 struct wm831x *wm831x = dcdc->wm831x;
@@ -582,7 +582,7 @@ static __devexit int wm831x_buckv_remove(struct platform_device *pdev)
582 582
583static struct platform_driver wm831x_buckv_driver = { 583static struct platform_driver wm831x_buckv_driver = {
584 .probe = wm831x_buckv_probe, 584 .probe = wm831x_buckv_probe,
585 .remove = __devexit_p(wm831x_buckv_remove), 585 .remove = wm831x_buckv_remove,
586 .driver = { 586 .driver = {
587 .name = "wm831x-buckv", 587 .name = "wm831x-buckv",
588 .owner = THIS_MODULE, 588 .owner = THIS_MODULE,
@@ -623,7 +623,7 @@ static struct regulator_ops wm831x_buckp_ops = {
623 .set_suspend_mode = wm831x_dcdc_set_suspend_mode, 623 .set_suspend_mode = wm831x_dcdc_set_suspend_mode,
624}; 624};
625 625
626static __devinit int wm831x_buckp_probe(struct platform_device *pdev) 626static int wm831x_buckp_probe(struct platform_device *pdev)
627{ 627{
628 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 628 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
629 struct wm831x_pdata *pdata = wm831x->dev->platform_data; 629 struct wm831x_pdata *pdata = wm831x->dev->platform_data;
@@ -710,7 +710,7 @@ err:
710 return ret; 710 return ret;
711} 711}
712 712
713static __devexit int wm831x_buckp_remove(struct platform_device *pdev) 713static int wm831x_buckp_remove(struct platform_device *pdev)
714{ 714{
715 struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev); 715 struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
716 716
@@ -725,7 +725,7 @@ static __devexit int wm831x_buckp_remove(struct platform_device *pdev)
725 725
726static struct platform_driver wm831x_buckp_driver = { 726static struct platform_driver wm831x_buckp_driver = {
727 .probe = wm831x_buckp_probe, 727 .probe = wm831x_buckp_probe,
728 .remove = __devexit_p(wm831x_buckp_remove), 728 .remove = wm831x_buckp_remove,
729 .driver = { 729 .driver = {
730 .name = "wm831x-buckp", 730 .name = "wm831x-buckp",
731 .owner = THIS_MODULE, 731 .owner = THIS_MODULE,
@@ -771,7 +771,7 @@ static struct regulator_ops wm831x_boostp_ops = {
771 .disable = regulator_disable_regmap, 771 .disable = regulator_disable_regmap,
772}; 772};
773 773
774static __devinit int wm831x_boostp_probe(struct platform_device *pdev) 774static int wm831x_boostp_probe(struct platform_device *pdev)
775{ 775{
776 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 776 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
777 struct wm831x_pdata *pdata = wm831x->dev->platform_data; 777 struct wm831x_pdata *pdata = wm831x->dev->platform_data;
@@ -845,7 +845,7 @@ err:
845 return ret; 845 return ret;
846} 846}
847 847
848static __devexit int wm831x_boostp_remove(struct platform_device *pdev) 848static int wm831x_boostp_remove(struct platform_device *pdev)
849{ 849{
850 struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev); 850 struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
851 851
@@ -860,7 +860,7 @@ static __devexit int wm831x_boostp_remove(struct platform_device *pdev)
860 860
861static struct platform_driver wm831x_boostp_driver = { 861static struct platform_driver wm831x_boostp_driver = {
862 .probe = wm831x_boostp_probe, 862 .probe = wm831x_boostp_probe,
863 .remove = __devexit_p(wm831x_boostp_remove), 863 .remove = wm831x_boostp_remove,
864 .driver = { 864 .driver = {
865 .name = "wm831x-boostp", 865 .name = "wm831x-boostp",
866 .owner = THIS_MODULE, 866 .owner = THIS_MODULE,
@@ -883,7 +883,7 @@ static struct regulator_ops wm831x_epe_ops = {
883 .get_status = wm831x_dcdc_get_status, 883 .get_status = wm831x_dcdc_get_status,
884}; 884};
885 885
886static __devinit int wm831x_epe_probe(struct platform_device *pdev) 886static int wm831x_epe_probe(struct platform_device *pdev)
887{ 887{
888 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 888 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
889 struct wm831x_pdata *pdata = wm831x->dev->platform_data; 889 struct wm831x_pdata *pdata = wm831x->dev->platform_data;
@@ -936,7 +936,7 @@ err:
936 return ret; 936 return ret;
937} 937}
938 938
939static __devexit int wm831x_epe_remove(struct platform_device *pdev) 939static int wm831x_epe_remove(struct platform_device *pdev)
940{ 940{
941 struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev); 941 struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
942 942
@@ -948,7 +948,7 @@ static __devexit int wm831x_epe_remove(struct platform_device *pdev)
948 948
949static struct platform_driver wm831x_epe_driver = { 949static struct platform_driver wm831x_epe_driver = {
950 .probe = wm831x_epe_probe, 950 .probe = wm831x_epe_probe,
951 .remove = __devexit_p(wm831x_epe_remove), 951 .remove = wm831x_epe_remove,
952 .driver = { 952 .driver = {
953 .name = "wm831x-epe", 953 .name = "wm831x-epe",
954 .owner = THIS_MODULE, 954 .owner = THIS_MODULE,