aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-09-23 16:27:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 16:18:33 -0700
commit9d3fde86b15303decea632c929fbf1f3ae4501f2 (patch)
treeea84f31d6165e115be36aa9e827604328fd7adf5 /include/linux/device.h
parentusb: phy: gpio-vbus: fix deferred probe from __init (diff)
downloadlinux-dev-9d3fde86b15303decea632c929fbf1f3ae4501f2.tar.xz
linux-dev-9d3fde86b15303decea632c929fbf1f3ae4501f2.zip
backlight: atmel-pwm-bl: 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: 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/device.h')
0 files changed, 0 insertions, 0 deletions