usb: OHCI/EHCI-XLS: Use resource_size v3
authorThomas Meyer <thomas@m3y3r.de>
Sat, 12 Nov 2011 09:14:40 +0000 (10:14 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 18:21:56 +0000 (10:21 -0800)
commit5c85477fe6b53744709621ec14c6335e33a70992
tree30faf6743a4c837a1253533f76ce2e9d7175ca81
parenteb545522944d9dcff66ff45d321bb6e6d44d0075
usb: OHCI/EHCI-XLS: Use resource_size v3

Use resource_size function on resource object
instead of explicit computation.

The semantic patch that makes this change is available
in scripts/coccinelle/api/resource_size.cocci.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-xls.c
drivers/usb/host/ohci-xls.c