twl4030_charger: correctly handle -EPROBE_DEFER from devm_usb_get_phy_by_node
authorNeilBrown <neil@brown.name>
Thu, 30 Jul 2015 00:11:24 +0000 (10:11 +1000)
committerSebastian Reichel <sre@kernel.org>
Wed, 5 Aug 2015 03:11:35 +0000 (05:11 +0200)
commit3fc3895e4fe17ee92ae1d1bb9f04da6069e8c370
treedd8de87e8f5b3931463df3847c335d4cfbe660f3
parent7396f708b9f1d8874dda9c6386c37b065d99b68f
twl4030_charger: correctly handle -EPROBE_DEFER from devm_usb_get_phy_by_node

Now that twl4030_bci_probe can safely return -EPROBE_DEFER,
do so when devm_usb_get_phy_by_node returns that error.

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/twl4030_charger.c