niu: Use resource_size instead of private function
authorTobias Klauser <tklauser@distanz.ch>
Wed, 9 Sep 2009 08:41:30 +0000 (01:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2009 08:41:30 +0000 (01:41 -0700)
commit6f0e013548fd15fddb952f657a3cc81282641191
treed8b910dcdc8fb411518ad9ff088dead5259df81d
parent3a5f29c1dbe5814349efacdea483079c470dcc38
niu: Use resource_size instead of private function

The function res_size in drivers/net/niu.c is a copy of resource_size in
linux/ioport.h. Remove the function and use resource_size instead.

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