USB: ehci-au1xxx.c: use platform_get_resource() and resource_size()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 14 Dec 2009 23:22:42 +0000 (18:22 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:18 +0000 (14:53 -0800)
commit1f141ca2b1f40088203fba061cc7b1f8da7c38ab
tree95d0031f3f010ab08ffa910d8f4e4e283309d49e
parentf65c3540d316982c906e6ece7ccad00bba84574e
USB: ehci-au1xxx.c: use platform_get_resource() and resource_size()

Use platform_get_resource() to fetch the memory resource and
resource_size() for calculate the length.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-au1xxx.c