aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/da9052-regulator.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/da9052-regulator.c
parent207f30894a8469849d9f5663149d966ff4d411e8 (diff)
parent8dc995f56ef7aedb41873fdeaa1971f3aa166ebd (diff)
Merge remote-tracking branch 'regulator/topic/hotplug' into regulator-next
Diffstat (limited to 'drivers/regulator/da9052-regulator.c')
-rw-r--r--drivers/regulator/da9052-regulator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c
index 0a2586a39e6a..d0963090442d 100644
--- a/drivers/regulator/da9052-regulator.c
+++ b/drivers/regulator/da9052-regulator.c
@@ -365,7 +365,7 @@ static inline struct da9052_regulator_info *find_regulator_info(u8 chip_id,
365 return NULL; 365 return NULL;
366} 366}
367 367
368static int __devinit da9052_regulator_probe(struct platform_device *pdev) 368static int da9052_regulator_probe(struct platform_device *pdev)
369{ 369{
370 struct regulator_config config = { }; 370 struct regulator_config config = { };
371 struct da9052_regulator *regulator; 371 struct da9052_regulator *regulator;
@@ -430,7 +430,7 @@ static int __devinit da9052_regulator_probe(struct platform_device *pdev)
430 return 0; 430 return 0;
431} 431}
432 432
433static int __devexit da9052_regulator_remove(struct platform_device *pdev) 433static int da9052_regulator_remove(struct platform_device *pdev)
434{ 434{
435 struct da9052_regulator *regulator = platform_get_drvdata(pdev); 435 struct da9052_regulator *regulator = platform_get_drvdata(pdev);
436 436
@@ -440,7 +440,7 @@ static int __devexit da9052_regulator_remove(struct platform_device *pdev)
440 440
441static struct platform_driver da9052_regulator_driver = { 441static struct platform_driver da9052_regulator_driver = {
442 .probe = da9052_regulator_probe, 442 .probe = da9052_regulator_probe,
443 .remove = __devexit_p(da9052_regulator_remove), 443 .remove = da9052_regulator_remove,
444 .driver = { 444 .driver = {
445 .name = "da9052-regulator", 445 .name = "da9052-regulator",
446 .owner = THIS_MODULE, 446 .owner = THIS_MODULE,