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/max8907-regulator.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/max8907-regulator.c')
-rw-r--r-- | drivers/regulator/max8907-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8907-regulator.c b/drivers/regulator/max8907-regulator.c index 882e7cb3c943..99bae75970f1 100644 --- a/drivers/regulator/max8907-regulator.c +++ b/drivers/regulator/max8907-regulator.c | |||
@@ -275,7 +275,7 @@ static inline struct device_node *match_of_node(int index) | |||
275 | } | 275 | } |
276 | #endif | 276 | #endif |
277 | 277 | ||
278 | static __devinit int max8907_regulator_probe(struct platform_device *pdev) | 278 | static int max8907_regulator_probe(struct platform_device *pdev) |
279 | { | 279 | { |
280 | struct max8907 *max8907 = dev_get_drvdata(pdev->dev.parent); | 280 | struct max8907 *max8907 = dev_get_drvdata(pdev->dev.parent); |
281 | struct max8907_platform_data *pdata = dev_get_platdata(max8907->dev); | 281 | struct max8907_platform_data *pdata = dev_get_platdata(max8907->dev); |