lpc_eth: Use resource_size instead of computation
authorBenoit Taine <benoit.taine@lip6.fr>
Tue, 3 Jun 2014 10:45:59 +0000 (12:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jun 2014 23:08:52 +0000 (16:08 -0700)
commit9323b239953605071866899e675c06fb2d41880c
treea5b1cf799077b30bb04cab22e4724561b0be04b9
parent75348fc915c1bf57b0382394d0b3298695bc9cf9
lpc_eth: Use resource_size instead of computation

This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/resource_size.cocci

Signed-off-by: Benoit Taine <benoit.taine@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nxp/lpc_eth.c