USB: isp1760: Use resource_size
authorTobias Klauser <tklauser@distanz.ch>
Wed, 5 May 2010 09:18:41 +0000 (11:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:42 +0000 (13:21 -0700)
commite07afd3fb906647d37108206075834f8c670b7e3
treed47b5ab15edeacbc9db25b733e93fe5f894e72a1
parent0ba169aff9181389f30f225ad92e113eeb2290b9
USB: isp1760: Use resource_size

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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-if.c