net: emaclite: Use resource_size
authorTobias Klauser <tklauser@distanz.ch>
Wed, 5 May 2010 22:12:20 +0000 (22:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 08:31:29 +0000 (01:31 -0700)
Use the resource_size function instead of manually calculating the
resource size.  This reduces the chance of introducing off-by-one
errors.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found