aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/pci-driver.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-09-18 09:14:46 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-09 13:52:07 -0700
commitd86a83f4acbded4095a632e861183d117ec7405a (patch)
tree2c0bb415c03edcb9452e04b094c3b6f820a50a74 /drivers/pci/pci-driver.c
parent2f13612a86dd785d581e29aed4db2fb98ba507ca (diff)
USB: gadget: imx_udc: 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/pci/pci-driver.c')
0 files changed, 0 insertions, 0 deletions