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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>

For patches 1 - 4:

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux