]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: phy: twl4030-usb: check regulator_enable return value
authorFabio Baltieri <fabio.baltieri@linaro.org>
Wed, 3 Apr 2013 14:02:26 +0000 (16:02 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 3 Apr 2013 15:44:38 +0000 (18:44 +0300)
commit9ec602ecb199653a16e1eb909551b7ba77d79922
tree539ccc1297734c24dd9efef139944e6041987255
parent88b1c78db32782041d9548e3c4ab405f9e9eab59
usb: phy: twl4030-usb: check regulator_enable return value

Since regulator_enable() is going to be marked as __must_check in the
next merge window, always check regulator_enable() return value and
print a warning if it fails.

Reviewed-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-twl4030-usb.c