Thread (1 message) 1 message, 1 author, 2014-05-07

[PATCHv4 01/20] usb: ehci-orion: use platform_get_irq() for DT probing

From: stern@rowland.harvard.edu (Alan Stern)
Date: 2014-05-07 15:09:21
Also in: linux-devicetree

On Wed, 7 May 2014, Thomas Petazzoni wrote:
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 <redacted>
For patches 1 - 4:

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help