usb: phy: ab8500-usb: update irq handling code
authorFabio Baltieri <fabio.baltieri@linaro.org>
Fri, 8 Mar 2013 02:27:09 +0000 (10:27 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 12:41:33 +0000 (14:41 +0200)
commitaf6882be363d3a7bf0f72dd17ac2a639c4da0059
tree5b652ffd6e7980c1de44517dceac3db55cd4a863
parent73f226cbd79adb5f3f25ee14c18900bb4a9acd15
usb: phy: ab8500-usb: update irq handling code

Update irq handling code to notify all possible link status changes of
AB8500 and AB8505 to the ux500-musb glue driver.  The additional event
codes will be used for pm-runtime implementation, and are defined in a
separate ux500-specific header.

This also modify the irq registration code to use devm_* helpers and
drop all non necessary fail path code.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/ux500.c
drivers/usb/phy/phy-ab8500-usb.c
include/linux/usb/musb-ux500.h [new file with mode: 0644]