diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:22 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-19 20:31:26 -0500 |
commit | a5023574d120ca3b9337cedd4e27de90cae9aff7 (patch) | |
tree | 071ee48554ff7e3f2a7208aac03c892c210dbffc /drivers/regulator/ab8500.c | |
parent | 5eb9f2b96381ac3fa4a5910c37213c1cb62e9c65 (diff) |
regulator: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/ab8500.c')
-rw-r--r-- | drivers/regulator/ab8500.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 987b047fc40a..af81325b8e2f 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c | |||
@@ -641,7 +641,7 @@ static struct ab8500_reg_init ab8500_reg_init[] = { | |||
641 | REG_INIT(AB8500_REGUCTRLDISCH2, 0x04, 0x44, 0x16), | 641 | REG_INIT(AB8500_REGUCTRLDISCH2, 0x04, 0x44, 0x16), |
642 | }; | 642 | }; |
643 | 643 | ||
644 | static __devinit int | 644 | static int |
645 | ab8500_regulator_init_registers(struct platform_device *pdev, int id, int value) | 645 | ab8500_regulator_init_registers(struct platform_device *pdev, int id, int value) |
646 | { | 646 | { |
647 | int err; | 647 | int err; |
@@ -676,7 +676,7 @@ ab8500_regulator_init_registers(struct platform_device *pdev, int id, int value) | |||
676 | return 0; | 676 | return 0; |
677 | } | 677 | } |
678 | 678 | ||
679 | static __devinit int ab8500_regulator_register(struct platform_device *pdev, | 679 | static int ab8500_regulator_register(struct platform_device *pdev, |
680 | struct regulator_init_data *init_data, | 680 | struct regulator_init_data *init_data, |
681 | int id, | 681 | int id, |
682 | struct device_node *np) | 682 | struct device_node *np) |
@@ -735,7 +735,7 @@ static struct of_regulator_match ab8500_regulator_matches[] = { | |||
735 | { .name = "ab8500_ldo_ana", .driver_data = (void *) AB8500_LDO_ANA, }, | 735 | { .name = "ab8500_ldo_ana", .driver_data = (void *) AB8500_LDO_ANA, }, |
736 | }; | 736 | }; |
737 | 737 | ||
738 | static __devinit int | 738 | static int |
739 | ab8500_regulator_of_probe(struct platform_device *pdev, struct device_node *np) | 739 | ab8500_regulator_of_probe(struct platform_device *pdev, struct device_node *np) |
740 | { | 740 | { |
741 | int err, i; | 741 | int err, i; |
@@ -751,7 +751,7 @@ ab8500_regulator_of_probe(struct platform_device *pdev, struct device_node *np) | |||
751 | return 0; | 751 | return 0; |
752 | } | 752 | } |
753 | 753 | ||
754 | static __devinit int ab8500_regulator_probe(struct platform_device *pdev) | 754 | static int ab8500_regulator_probe(struct platform_device *pdev) |
755 | { | 755 | { |
756 | struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); | 756 | struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); |
757 | struct ab8500_platform_data *pdata; | 757 | struct ab8500_platform_data *pdata; |