phy: cpcap-usb: Fix missing return statement
authorTony Lindgren <tony@atomide.com>
Mon, 12 Jun 2017 08:12:23 +0000 (01:12 -0700)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 16 Jun 2017 06:10:21 +0000 (11:40 +0530)
commit259a24001a501c09e7c6b718aed3b1b58641534b
treed67eb7310f24228518472e7efdb917e695521ec2
parent787f24543c4a599e5d9d311a3fce839ce87bbff0
phy: cpcap-usb: Fix missing return statement

Commit 8ae904e3c236 ("phy: cpcap-usb: Add CPCAP PMIC USB support")
is missing return statement as noted by Colin Ian King
<colin.king@canonical.com>. If the optional pins are not configured,
we just want to return early and not attempt to configure the pins.

Fixes: 8ae904e3c236 ("phy: cpcap-usb: Add CPCAP PMIC USB support")
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/motorola/phy-cpcap-usb.c