commit | cd70469d084fde198dc07c1a31b8463562228a5a | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Feb 29 16:46:23 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 01 09:31:22 2012 -0800 |
tree | 166cf8dc555922a43abb71aa681e56dc3e61c776 | |
parent | 444aa7fa9bd752d19ce472d3e02558b987c3cc67 [diff] |
usb: core: hcd: make hcd->irq unsigned There's really no point in having hcd->irq as a signed integer when we consider the fact that IRQ 0 means NO_IRQ. In order to avoid confusion, make hcd->irq unsigned and fix users who were passing -1 as the IRQ number to usb_add_hcd. Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>