diff options
Diffstat (limited to 'drivers/regulator/s5m8767.c')
-rw-r--r-- | drivers/regulator/s5m8767.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index abe64a32aedf..2b822bec3c2d 100644 --- a/drivers/regulator/s5m8767.c +++ b/drivers/regulator/s5m8767.c | |||
@@ -499,7 +499,7 @@ static struct regulator_desc regulators[] = { | |||
499 | s5m8767_regulator_desc(BUCK9), | 499 | s5m8767_regulator_desc(BUCK9), |
500 | }; | 500 | }; |
501 | 501 | ||
502 | static __devinit int s5m8767_pmic_probe(struct platform_device *pdev) | 502 | static int s5m8767_pmic_probe(struct platform_device *pdev) |
503 | { | 503 | { |
504 | struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); | 504 | struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); |
505 | struct sec_platform_data *pdata = dev_get_platdata(iodev->dev); | 505 | struct sec_platform_data *pdata = dev_get_platdata(iodev->dev); |
@@ -773,7 +773,7 @@ err: | |||
773 | return ret; | 773 | return ret; |
774 | } | 774 | } |
775 | 775 | ||
776 | static int __devexit s5m8767_pmic_remove(struct platform_device *pdev) | 776 | static int s5m8767_pmic_remove(struct platform_device *pdev) |
777 | { | 777 | { |
778 | struct s5m8767_info *s5m8767 = platform_get_drvdata(pdev); | 778 | struct s5m8767_info *s5m8767 = platform_get_drvdata(pdev); |
779 | struct regulator_dev **rdev = s5m8767->rdev; | 779 | struct regulator_dev **rdev = s5m8767->rdev; |
@@ -798,7 +798,7 @@ static struct platform_driver s5m8767_pmic_driver = { | |||
798 | .owner = THIS_MODULE, | 798 | .owner = THIS_MODULE, |
799 | }, | 799 | }, |
800 | .probe = s5m8767_pmic_probe, | 800 | .probe = s5m8767_pmic_probe, |
801 | .remove = __devexit_p(s5m8767_pmic_remove), | 801 | .remove = s5m8767_pmic_remove, |
802 | .id_table = s5m8767_pmic_id, | 802 | .id_table = s5m8767_pmic_id, |
803 | }; | 803 | }; |
804 | 804 | ||