From: Johan Hovold Date: Mon, 23 Sep 2013 14:27:30 +0000 (+0200) Subject: usb: gadget: pxa25x_udc: fix deferred probe from __init X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~64^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3a9995f2575fecc14189a06d217700bbdb52cf5;p=pandora-kernel.git 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 Cc: Russell King Cc: Haojian Zhuang Cc: Felipe Balbi Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed