diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-09-23 10:27:31 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-09-23 15:29:50 -0400 |
commit | eaaa775b5f934f09b1f6ee91418ed97a8fdf0b7c (patch) | |
tree | 33c16aaa5fb2611dcacdd4870b2ef94c3993e378 /drivers/usb/musb/musb_gadget.c | |
parent | 8233729853b424778a6f383306159a8df669bdaf (diff) |
usb: phy: gpio-vbus: fix deferred probe from __init
Move probe out of __init section and don't use platform_driver_probe
which cannot be used with deferred probing.
Since commit e9354576 ("gpiolib: Defer failed gpio requests by default")
and 04bf3011 ("regulator: Support driver probe deferral") this driver
might return -EPROBE_DEFER if a gpio_request or regulator_get fails.
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_gadget.c')
0 files changed, 0 insertions, 0 deletions