]> git.baikalelectronics.ru Git - kernel.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)
commit2240001775b1d726d88d00f296ba11ec560b0264
tree1ba736d2f07eb647baa943ca5a78eb581c647e9f
parent8def296bf2ffafa48e55331850a9b30c9335d873
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