From: Thomas Petazzoni Date: Thu, 15 May 2014 10:17:26 +0000 (+0200) Subject: usb: ehci-orion: use platform_get_irq() for DT probing X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88bf6b3f2542bbe20168e84b1196792c2fab08c9;p=pandora-kernel.git usb: ehci-orion: use platform_get_irq() for DT probing Commit 77dae54ab385033e488d8b07045bc7f8d931740f ('ARM: Kirkwood: ehci-orion: Add device tree binding') added the Device Tree binding for the ehci-orion driver. To achieve that with the irq, it used the irq_of_parse_and_map() function when probed in DT-mode, and platform_get_irq() when probed in non-DT mode. This is not necessary: platform_get_irq() works just as fine in DT-mode, since the conversion from DT information to 'struct resource' is done by the generic layers of the kernel. Therefore, this commit switches back to use just platform_get_irq(). Signed-off-by: Thomas Petazzoni Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed