usb: phy: generic: fix the gpios to be optional
authorRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 30 Jan 2015 16:22:45 +0000 (17:22 +0100)
committerFelipe Balbi <balbi@ti.com>
Fri, 30 Jan 2015 16:35:15 +0000 (10:35 -0600)
commit9eb0797722895f4309b46d122e24d87ad17f473b
treecc5639de313674a7c323410affa034d20638a7e9
parentb4c2378df6419b81eefcb9cd56726321c29a70ca
usb: phy: generic: fix the gpios to be optional

All the gpios, ie. reset-gpios and vbus-detect-gpio, should be optional
and not prevent the driver from working. Fix the regression in the
behavior introduced by commit "usb: phy: generic: migrate to gpio_desc".

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-generic.c