aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lp8788-ldo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/lp8788-ldo.c')
-rw-r--r--drivers/regulator/lp8788-ldo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/regulator/lp8788-ldo.c b/drivers/regulator/lp8788-ldo.c
index 6796eeb47dc6..26753a013789 100644
--- a/drivers/regulator/lp8788-ldo.c
+++ b/drivers/regulator/lp8788-ldo.c
@@ -712,7 +712,7 @@ set_default_ldo_enable_mode:
712 val[enable_id]); 712 val[enable_id]);
713} 713}
714 714
715static __devinit int lp8788_dldo_probe(struct platform_device *pdev) 715static int lp8788_dldo_probe(struct platform_device *pdev)
716{ 716{
717 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); 717 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent);
718 int id = pdev->id; 718 int id = pdev->id;
@@ -749,7 +749,7 @@ static __devinit int lp8788_dldo_probe(struct platform_device *pdev)
749 return 0; 749 return 0;
750} 750}
751 751
752static int __devexit lp8788_dldo_remove(struct platform_device *pdev) 752static int lp8788_dldo_remove(struct platform_device *pdev)
753{ 753{
754 struct lp8788_ldo *ldo = platform_get_drvdata(pdev); 754 struct lp8788_ldo *ldo = platform_get_drvdata(pdev);
755 755
@@ -761,14 +761,14 @@ static int __devexit lp8788_dldo_remove(struct platform_device *pdev)
761 761
762static struct platform_driver lp8788_dldo_driver = { 762static struct platform_driver lp8788_dldo_driver = {
763 .probe = lp8788_dldo_probe, 763 .probe = lp8788_dldo_probe,
764 .remove = __devexit_p(lp8788_dldo_remove), 764 .remove = lp8788_dldo_remove,
765 .driver = { 765 .driver = {
766 .name = LP8788_DEV_DLDO, 766 .name = LP8788_DEV_DLDO,
767 .owner = THIS_MODULE, 767 .owner = THIS_MODULE,
768 }, 768 },
769}; 769};
770 770
771static __devinit int lp8788_aldo_probe(struct platform_device *pdev) 771static int lp8788_aldo_probe(struct platform_device *pdev)
772{ 772{
773 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); 773 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent);
774 int id = pdev->id; 774 int id = pdev->id;
@@ -805,7 +805,7 @@ static __devinit int lp8788_aldo_probe(struct platform_device *pdev)
805 return 0; 805 return 0;
806} 806}
807 807
808static int __devexit lp8788_aldo_remove(struct platform_device *pdev) 808static int lp8788_aldo_remove(struct platform_device *pdev)
809{ 809{
810 struct lp8788_ldo *ldo = platform_get_drvdata(pdev); 810 struct lp8788_ldo *ldo = platform_get_drvdata(pdev);
811 811
@@ -817,7 +817,7 @@ static int __devexit lp8788_aldo_remove(struct platform_device *pdev)
817 817
818static struct platform_driver lp8788_aldo_driver = { 818static struct platform_driver lp8788_aldo_driver = {
819 .probe = lp8788_aldo_probe, 819 .probe = lp8788_aldo_probe,
820 .remove = __devexit_p(lp8788_aldo_remove), 820 .remove = lp8788_aldo_remove,
821 .driver = { 821 .driver = {
822 .name = LP8788_DEV_ALDO, 822 .name = LP8788_DEV_ALDO,
823 .owner = THIS_MODULE, 823 .owner = THIS_MODULE,