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

No differences found