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)
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>

No differences found