usb: phy: twl4030: use devres API for regulator get and request irq
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 15 Mar 2013 13:28:51 +0000 (18:58 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:27 +0000 (11:18 +0200)
commit9166902c435b4847c1987188294407b24e76d9e6
tree192d911a7cd76689bf00efcb9d74fb5e20b5e92a
parentb7fa5c2aec5be083eb2719b405089703608e9bc6
usb: phy: twl4030: use devres API for regulator get and request irq

Used devres APIs devm_request_threaded_irq and devm_regulator_get for
requesting irq and for getting regulator respectively.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-twl4030-usb.c