diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-09-23 16:27:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-20 12:37:36 -0800 |
commit | beb9294315a7e3eb581bd3ef8536478e4e207871 (patch) | |
tree | ee9ef25f9c5d75ac9d938cd941b126d980bb7b79 /include/linux/omap-mailbox.h | |
parent | 0fe6a2bc2f2ee462d158c737bae7c50ab72b6b57 (diff) |
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 'include/linux/omap-mailbox.h')
0 files changed, 0 insertions, 0 deletions