diff options
author | Johan Hovold | 2013-09-23 16:27:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-09-26 16:18:33 -0700 |
commit | 17dab4d5b13fa438cc111611dcc4ac9a631deab9 (patch) | |
tree | 003aea72adee5bc7bd41feee5573efdf932c7411 /drivers/video/backlight/atmel-pwm-bl.c | |
parent | f3a9995f2575fecc14189a06d217700bbdb52cf5 (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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/backlight/atmel-pwm-bl.c')
0 files changed, 0 insertions, 0 deletions