]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: ohci-omap3: Get platform resources by index rather than by name
authorRoger Quadros <rogerq@ti.com>
Tue, 12 Mar 2013 10:44:46 +0000 (12:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 18:51:46 +0000 (11:51 -0700)
commit8c3ec38550a6b880738c8b1982f9207d0fd5a339
tree1ba736d2f07eb647baa943ca5a78eb581c647e9f
parent3414211b914464113ba3cd19726e44b5e416087d
USB: ohci-omap3: 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/ohci-omap3.c