diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:22 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-20 10:31:26 +0900 |
commit | a5023574d120ca3b9337cedd4e27de90cae9aff7 (patch) | |
tree | 071ee48554ff7e3f2a7208aac03c892c210dbffc /drivers/regulator/palmas-regulator.c | |
parent | 5eb9f2b96381ac3fa4a5910c37213c1cb62e9c65 (diff) | |
download | talos-obmc-linux-a5023574d120ca3b9337cedd4e27de90cae9aff7.tar.gz talos-obmc-linux-a5023574d120ca3b9337cedd4e27de90cae9aff7.zip |
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/palmas-regulator.c')
-rw-r--r-- | drivers/regulator/palmas-regulator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 4e0d3b5934d3..b04774492bc0 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c @@ -595,7 +595,7 @@ static struct of_regulator_match palmas_matches[] = { { .name = "ldousb", }, }; -static void __devinit palmas_dt_to_pdata(struct device *dev, +static void palmas_dt_to_pdata(struct device *dev, struct device_node *node, struct palmas_pmic_platform_data *pdata) { @@ -663,7 +663,7 @@ static void __devinit palmas_dt_to_pdata(struct device *dev, } -static __devinit int palmas_probe(struct platform_device *pdev) +static int palmas_probe(struct platform_device *pdev) { struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); struct palmas_pmic_platform_data *pdata = pdev->dev.platform_data; |