diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-09-23 14:27:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-20 20:37:36 (GMT) |
commit | beb9294315a7e3eb581bd3ef8536478e4e207871 (patch) | |
tree | ee9ef25f9c5d75ac9d938cd941b126d980bb7b79 /kernel/wait.c | |
parent | 0fe6a2bc2f2ee462d158c737bae7c50ab72b6b57 (diff) | |
download | linux-fsl-qoriq-beb9294315a7e3eb581bd3ef8536478e4e207871.tar.xz |
backlight: atmel-pwm-bl: fix deferred probe from __init
commit 9d3fde86b15303decea632c929fbf1f3ae4501f2 upstream.
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: Richard Purdie <rpurdie@rpsys.net>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions