]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ehci-omap: Get platform resources by index rather than by name
authorRoger Quadros <rogerq@ti.com>
Tue, 12 Mar 2013 10:44:45 +0000 (12:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 18:51:46 +0000 (11:51 -0700)
commit8def296bf2ffafa48e55331850a9b30c9335d873
tree433396038ec9302f97f772cddccf16e0bcc359d8
parentb6521f630ee786c52cd54511069b64bef15c942c
USB: ehci-omap: Get platform resources by index rather than by name

Since there is only one resource per type we don't really need
to use resource name to obtain it. This also also makes it easier
for device tree adaptation.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-omap.c