Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185677
b: refs/heads/master
c: 6a74857
h: refs/heads/master
i:
  185675: edec446
v: v3
  • Loading branch information
Dmitry Torokhov authored and Liam Girdwood committed Mar 3, 2010
1 parent 727237d commit 29d2d83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 308f100f2ef8e8b9f65b0f3c2a1c7044ec0e65a5
refs/heads/master: 6a74857d1b75e4f58f1a09472b972058499258a4
8 changes: 5 additions & 3 deletions trunk/drivers/regulator/pcap-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,16 +288,18 @@ static int __devexit pcap_regulator_remove(struct platform_device *pdev)
struct regulator_dev *rdev = platform_get_drvdata(pdev);

regulator_unregister(rdev);
platform_set_drvdata(pdev, NULL);

return 0;
}

static struct platform_driver pcap_regulator_driver = {
.driver = {
.name = "pcap-regulator",
.name = "pcap-regulator",
.owner = THIS_MODULE,
},
.probe = pcap_regulator_probe,
.remove = __devexit_p(pcap_regulator_remove),
.probe = pcap_regulator_probe,
.remove = __devexit_p(pcap_regulator_remove),
};

static int __init pcap_regulator_init(void)
Expand Down

0 comments on commit 29d2d83

Please sign in to comment.