diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2017-12-07 13:26:14 +0800 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-12-12 13:04:03 +0200 |
commit | 655283a7f5e047f2541cbcd60eecada705931b1a (patch) | |
tree | 91384ae2de17a8f829f5f5eaac1d579a06304669 /drivers/usb/renesas_usbhs | |
parent | 42bf02ec6e420e541af9a47437d0bdf961ca2972 (diff) | |
download | linux-next-655283a7f5e047f2541cbcd60eecada705931b1a.tar.gz |
usb: phy: Factor out the usb charger initialization
Factor out the guts of usb charger initialization into usb_charger_init()
function, to make the usb_add_extcon() only do the extcon related things.
Meanwhile we also should initialize the USB charger before registering
the extcon device, in case the extcon notification was issued earlier than
usb charger initialization.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs')
0 files changed, 0 insertions, 0 deletions