diff options
Diffstat (limited to 'drivers/regulator/da9055-regulator.c')
-rw-r--r-- | drivers/regulator/da9055-regulator.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c index a4b9cb8c4317..1a05ac66878f 100644 --- a/drivers/regulator/da9055-regulator.c +++ b/drivers/regulator/da9055-regulator.c | |||
@@ -442,9 +442,9 @@ static struct da9055_regulator_info da9055_regulator_info[] = { | |||
442 | * GPIO can control regulator state and/or select the regulator register | 442 | * GPIO can control regulator state and/or select the regulator register |
443 | * set A/B for voltage ramping. | 443 | * set A/B for voltage ramping. |
444 | */ | 444 | */ |
445 | static __devinit int da9055_gpio_init(struct da9055_regulator *regulator, | 445 | static int da9055_gpio_init(struct da9055_regulator *regulator, |
446 | struct regulator_config *config, | 446 | struct regulator_config *config, |
447 | struct da9055_pdata *pdata, int id) | 447 | struct da9055_pdata *pdata, int id) |
448 | { | 448 | { |
449 | struct da9055_regulator_info *info = regulator->info; | 449 | struct da9055_regulator_info *info = regulator->info; |
450 | int ret = 0; | 450 | int ret = 0; |
@@ -533,7 +533,7 @@ static inline struct da9055_regulator_info *find_regulator_info(int id) | |||
533 | return NULL; | 533 | return NULL; |
534 | } | 534 | } |
535 | 535 | ||
536 | static int __devinit da9055_regulator_probe(struct platform_device *pdev) | 536 | static int da9055_regulator_probe(struct platform_device *pdev) |
537 | { | 537 | { |
538 | struct regulator_config config = { }; | 538 | struct regulator_config config = { }; |
539 | struct da9055_regulator *regulator; | 539 | struct da9055_regulator *regulator; |
@@ -605,7 +605,7 @@ err_regulator: | |||
605 | return ret; | 605 | return ret; |
606 | } | 606 | } |
607 | 607 | ||
608 | static int __devexit da9055_regulator_remove(struct platform_device *pdev) | 608 | static int da9055_regulator_remove(struct platform_device *pdev) |
609 | { | 609 | { |
610 | struct da9055_regulator *regulator = platform_get_drvdata(pdev); | 610 | struct da9055_regulator *regulator = platform_get_drvdata(pdev); |
611 | 611 | ||
@@ -616,7 +616,7 @@ static int __devexit da9055_regulator_remove(struct platform_device *pdev) | |||
616 | 616 | ||
617 | static struct platform_driver da9055_regulator_driver = { | 617 | static struct platform_driver da9055_regulator_driver = { |
618 | .probe = da9055_regulator_probe, | 618 | .probe = da9055_regulator_probe, |
619 | .remove = __devexit_p(da9055_regulator_remove), | 619 | .remove = da9055_regulator_remove, |
620 | .driver = { | 620 | .driver = { |
621 | .name = "da9055-regulator", | 621 | .name = "da9055-regulator", |
622 | .owner = THIS_MODULE, | 622 | .owner = THIS_MODULE, |