aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/arizona-micsupp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 22:42:55 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 22:42:55 -0500
commit1f9cc5f7716d664bfe32289ca61327be01a0a8e3 (patch)
tree06b29c20a1d0c195fbf5513fdfb860cb38f09420 /drivers/regulator/arizona-micsupp.c
parent207f30894a8469849d9f5663149d966ff4d411e8 (diff)
parent8dc995f56ef7aedb41873fdeaa1971f3aa166ebd (diff)
Merge remote-tracking branch 'regulator/topic/hotplug' into regulator-next
Diffstat (limited to 'drivers/regulator/arizona-micsupp.c')
-rw-r--r--drivers/regulator/arizona-micsupp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c
index 93d0604e64b4..a6d040cbf8ac 100644
--- a/drivers/regulator/arizona-micsupp.c
+++ b/drivers/regulator/arizona-micsupp.c
@@ -117,7 +117,7 @@ static const struct regulator_init_data arizona_micsupp_default = {
117 .num_consumer_supplies = 1, 117 .num_consumer_supplies = 1,
118}; 118};
119 119
120static __devinit int arizona_micsupp_probe(struct platform_device *pdev) 120static int arizona_micsupp_probe(struct platform_device *pdev)
121{ 121{
122 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); 122 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent);
123 struct regulator_config config = { }; 123 struct regulator_config config = { };
@@ -168,7 +168,7 @@ static __devinit int arizona_micsupp_probe(struct platform_device *pdev)
168 return 0; 168 return 0;
169} 169}
170 170
171static __devexit int arizona_micsupp_remove(struct platform_device *pdev) 171static int arizona_micsupp_remove(struct platform_device *pdev)
172{ 172{
173 struct arizona_micsupp *micsupp = platform_get_drvdata(pdev); 173 struct arizona_micsupp *micsupp = platform_get_drvdata(pdev);
174 174
@@ -179,7 +179,7 @@ static __devexit int arizona_micsupp_remove(struct platform_device *pdev)
179 179
180static struct platform_driver arizona_micsupp_driver = { 180static struct platform_driver arizona_micsupp_driver = {
181 .probe = arizona_micsupp_probe, 181 .probe = arizona_micsupp_probe,
182 .remove = __devexit_p(arizona_micsupp_remove), 182 .remove = arizona_micsupp_remove,
183 .driver = { 183 .driver = {
184 .name = "arizona-micsupp", 184 .name = "arizona-micsupp",
185 .owner = THIS_MODULE, 185 .owner = THIS_MODULE,