Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218371
b: refs/heads/master
c: 759a6c7
h: refs/heads/master
i:
  218369: 03d6904
  218367: 31b7343
v: v3
  • Loading branch information
Marc Kleine-Budde authored and David S. Miller committed Oct 24, 2010
1 parent 39b2d39 commit b8a5d10
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8a0e0a49b0a917c8c8dce6f7121ec73a5c8e3932
refs/heads/master: 759a6c768dcdbbb4d3f1fb965b674c15773e09ca
6 changes: 3 additions & 3 deletions trunk/drivers/net/can/at91_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ static int __init at91_can_probe(struct platform_device *pdev)
return 0;

exit_free:
free_netdev(dev);
free_candev(dev);
exit_iounmap:
iounmap(addr);
exit_release:
Expand All @@ -1122,15 +1122,15 @@ static int __devexit at91_can_remove(struct platform_device *pdev)

platform_set_drvdata(pdev, NULL);

free_netdev(dev);

iounmap(priv->reg_base);

res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
release_mem_region(res->start, resource_size(res));

clk_put(priv->clk);

free_candev(dev);

return 0;
}

Expand Down

0 comments on commit b8a5d10

Please sign in to comment.