]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitadeb27096a5ca66ec6f8c47e5165d7a7f61a1b0f
treed47b5ab15edeacbc9db25b733e93fe5f894e72a1
parent6b0a6c43b6b6782d72ace255aa1d9fa3b27dc92a
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