Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190094
b: refs/heads/master
c: 58d5765
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Liam Girdwood committed Apr 19, 2010
1 parent 3e4b169 commit ac2e514
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: be1a50d4eba4cdb3ebf9d97a0a8693c153436775
refs/heads/master: 58d57658834faa0c19da35e84632f7b78846f69f
3 changes: 3 additions & 0 deletions trunk/drivers/regulator/mc13783-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,12 @@ static int __devexit mc13783_regulator_remove(struct platform_device *pdev)
dev_get_platdata(&pdev->dev);
int i;

platform_set_drvdata(pdev, NULL);

for (i = 0; i < pdata->num_regulators; i++)
regulator_unregister(priv->regulators[i]);

kfree(priv);
return 0;
}

Expand Down

0 comments on commit ac2e514

Please sign in to comment.