aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8997.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/max8997.c')
-rw-r--r--drivers/regulator/max8997.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c
index 323ec2b14edb..cea9ec9093eb 100644
--- a/drivers/regulator/max8997.c
+++ b/drivers/regulator/max8997.c
@@ -1120,7 +1120,7 @@ err_out:
1120 return ret; 1120 return ret;
1121} 1121}
1122 1122
1123static int __devexit max8997_pmic_remove(struct platform_device *pdev) 1123static int max8997_pmic_remove(struct platform_device *pdev)
1124{ 1124{
1125 struct max8997_data *max8997 = platform_get_drvdata(pdev); 1125 struct max8997_data *max8997 = platform_get_drvdata(pdev);
1126 struct regulator_dev **rdev = max8997->rdev; 1126 struct regulator_dev **rdev = max8997->rdev;