summaryrefslogtreecommitdiff
path: root/drivers/uwb/lc-dev.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-09-23 16:27:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 16:18:32 -0700
commitf3a9995f2575fecc14189a06d217700bbdb52cf5 (patch)
tree287ae34b27436fcd26d8f1e931219971910ec881 /drivers/uwb/lc-dev.c
parent16a7c7cfd21cca8a260b63467e4f5c6a6d548b09 (diff)
downloadlwn-f3a9995f2575fecc14189a06d217700bbdb52cf5.tar.gz
lwn-f3a9995f2575fecc14189a06d217700bbdb52cf5.zip
usb: gadget: pxa25x_udc: 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") this driver might return -EPROBE_DEFER if a gpio_request fails. Cc: Eric Miao <eric.y.miao@gmail.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> 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/uwb/lc-dev.c')
0 files changed, 0 insertions, 0 deletions