]> git.baikalelectronics.ru Git - kernel.git/commit
net/davinci_emac: use devres APIs
authorSekhar Nori <nsekhar@ti.com>
Sun, 24 Mar 2013 23:25:46 +0000 (23:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Mar 2013 16:28:50 +0000 (12:28 -0400)
commit2759d3565014fe25702bcbfcd532fb0487a9a30b
treed154701912b53a160deb82b6e53c0c812d94a676
parentf19bf5ba68d5368a44acb97b00aa9d9892aee373
net/davinci_emac: use devres APIs

Use devres APIs where possible to simplify error handling
in driver probe.

While at it, also rename the goto targets in error path to
introduce some consistency in how they are named.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_emac.c