aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/arizona-ldo1.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-ldo1.c
parent207f30894a8469849d9f5663149d966ff4d411e8 (diff)
parent8dc995f56ef7aedb41873fdeaa1971f3aa166ebd (diff)
Merge remote-tracking branch 'regulator/topic/hotplug' into regulator-next
Diffstat (limited to 'drivers/regulator/arizona-ldo1.c')
-rw-r--r--drivers/regulator/arizona-ldo1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c
index 739faf99b9e2..ed7beec53af8 100644
--- a/drivers/regulator/arizona-ldo1.c
+++ b/drivers/regulator/arizona-ldo1.c
@@ -180,7 +180,7 @@ static const struct regulator_init_data arizona_ldo1_default = {
180 .num_consumer_supplies = 1, 180 .num_consumer_supplies = 1,
181}; 181};
182 182
183static __devinit int arizona_ldo1_probe(struct platform_device *pdev) 183static int arizona_ldo1_probe(struct platform_device *pdev)
184{ 184{
185 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); 185 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent);
186 const struct regulator_desc *desc; 186 const struct regulator_desc *desc;
@@ -239,7 +239,7 @@ static __devinit int arizona_ldo1_probe(struct platform_device *pdev)
239 return 0; 239 return 0;
240} 240}
241 241
242static __devexit int arizona_ldo1_remove(struct platform_device *pdev) 242static int arizona_ldo1_remove(struct platform_device *pdev)
243{ 243{
244 struct arizona_ldo1 *ldo1 = platform_get_drvdata(pdev); 244 struct arizona_ldo1 *ldo1 = platform_get_drvdata(pdev);
245 245
@@ -250,7 +250,7 @@ static __devexit int arizona_ldo1_remove(struct platform_device *pdev)
250 250
251static struct platform_driver arizona_ldo1_driver = { 251static struct platform_driver arizona_ldo1_driver = {
252 .probe = arizona_ldo1_probe, 252 .probe = arizona_ldo1_probe,
253 .remove = __devexit_p(arizona_ldo1_remove), 253 .remove = arizona_ldo1_remove,
254 .driver = { 254 .driver = {
255 .name = "arizona-ldo1", 255 .name = "arizona-ldo1",
256 .owner = THIS_MODULE, 256 .owner = THIS_MODULE,