Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168988
b: refs/heads/master
c: f8d5e5a
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Nov 21, 2009
1 parent ac3328d commit 07e7627
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 1508c99506b5d57b8892a5d759176000c88c93b6
refs/heads/master: f8d5e5a8f5be475796c7f357e43546c2d7f44540
4 changes: 2 additions & 2 deletions trunk/drivers/i2c/busses/i2c-pnx.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ static int __devinit i2c_pnx_probe(struct platform_device *pdev)
return 0;

out_irq:
free_irq(alg_data->irq, alg_data);
free_irq(alg_data->irq, i2c_pnx->adapter);
out_clock:
i2c_pnx->set_clock_stop(pdev);
out_unmap:
Expand All @@ -669,7 +669,7 @@ static int __devexit i2c_pnx_remove(struct platform_device *pdev)
struct i2c_adapter *adap = i2c_pnx->adapter;
struct i2c_pnx_algo_data *alg_data = adap->algo_data;

free_irq(alg_data->irq, alg_data);
free_irq(alg_data->irq, i2c_pnx->adapter);
i2c_del_adapter(adap);
i2c_pnx->set_clock_stop(pdev);
iounmap((void *)alg_data->ioaddr);
Expand Down

0 comments on commit 07e7627

Please sign in to comment.