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: v3.12-rc4~6^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8233729853b424778a6f383306159a8df669bdaf;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: Felipe Balbi --- Reading git-diff-tree failed