usb: phy: gpio-vbus: don't ignore regulator APIs return value
authorFelipe Balbi <balbi@ti.com>
Wed, 20 Mar 2013 06:01:53 +0000 (08:01 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 20 Mar 2013 06:01:53 +0000 (08:01 +0200)
commite8d891fb7b8fe4ee7311820594323d46dbc31d45
tree8419b7cc1b26181fb63ca7fcc39d0614c368b2f0
parentb64a15930c35c3c1046533aadcfe4f3233e70c20
usb: phy: gpio-vbus: don't ignore regulator APIs return value

Due to recent changes to regulator API, all
users which don't check regulator_{en,dis}able()'s
return value will generate compile warnings.

Add such checks to gpio-vbus.

Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-gpio-vbus-usb.c