]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: cpsw: switch to devres allocations
authorDaniel Mack <zonque@gmail.com>
Fri, 20 Sep 2013 19:20:38 +0000 (00:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Sep 2013 14:33:07 +0000 (10:33 -0400)
commit1d37e909580935137ddc4e2a531d5c5889ec8090
treef12ddc541a0ffc25eb3b60fb1fb04f341c3ed0ec
parentf716482b46594ce150481f2aeaa8f6525c714e50
net: ethernet: cpsw: switch to devres allocations

This patch cleans up the allocation and error unwind paths, which
allows us to carry less information in struct cpsw_priv and reduce the
amount of jump labels in the probe functions.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c