diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-05-05 11:18:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 22:21:42 +0200 |
commit | e07afd3fb906647d37108206075834f8c670b7e3 (patch) | |
tree | d47b5ab15edeacbc9db25b733e93fe5f894e72a1 /drivers/usb/host/ehci-hcd.c | |
parent | USB: simplify usb_sg_init() (diff) | |
download | linux-e07afd3fb906647d37108206075834f8c670b7e3.tar.xz linux-e07afd3fb906647d37108206075834f8c670b7e3.zip |
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>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
0 files changed, 0 insertions, 0 deletions