Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193179
b: refs/heads/master
c: a1c2767
h: refs/heads/master
i:
  193177: 011fc3a
  193175: 8200631
v: v3
  • Loading branch information
Rabin Vincent authored and Ben Dooks committed May 19, 2010
1 parent 033ccea commit c909fa5
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: 8a9d97d3a126fd33894e137f84ab47ec406df24f
refs/heads/master: a1c27678c0e92ed4aa3ac489ef2f0d80651e18bb
3 changes: 3 additions & 0 deletions trunk/drivers/i2c/busses/i2c-nomadik.c
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@ static int __devinit nmk_i2c_probe(struct platform_device *pdev)

static int __devexit nmk_i2c_remove(struct platform_device *pdev)
{
struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
struct nmk_i2c_dev *dev = platform_get_drvdata(pdev);

i2c_del_adapter(&dev->adap);
Expand All @@ -924,6 +925,8 @@ static int __devexit nmk_i2c_remove(struct platform_device *pdev)
i2c_clr_bit(dev->virtbase + I2C_CR, I2C_CR_PE);
free_irq(dev->irq, dev);
iounmap(dev->virtbase);
if (res)
release_mem_region(res->start, resource_size(res));
clk_disable(dev->clk);
clk_put(dev->clk);
platform_set_drvdata(pdev, NULL);
Expand Down

0 comments on commit c909fa5

Please sign in to comment.