USB: m66592 and r8a66597 resource changes
authorMagnus Damm <damm@igel.co.jp>
Thu, 13 Nov 2008 06:46:37 +0000 (15:46 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 17:59:53 +0000 (09:59 -0800)
commit0a2e5b9b8a3d205b565dec18d6fe39ef1aed75cc
tree864af256f1806a809072b40db8bb2f1e48bd2d29
parent3a407e7391767898027eb7030c41c78ebc7a785d
USB: m66592 and r8a66597 resource changes

Use the more common platform_get_resource() together with index instead
of depending on the resource name and platform_get_resource_by_name().
Replace the resource_len() implementation with resource_size().

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/m66592-udc.c
drivers/usb/host/r8a66597-hcd.c