spi: spi-bfin5xx: replace platform_driver_probe to support deferred probing
authorWolfram Sang <wsa@the-dreams.de>
Tue, 8 Oct 2013 20:35:38 +0000 (22:35 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 9 Oct 2013 11:07:32 +0000 (12:07 +0100)
commitdb9371b853e7cebce93f0775215ef297b8d0bf93
treea043ecad74d0c177e490527033f5c32d7087cef4
parent557667f643888e55c92243ff2af961c9fe052ce4
spi: spi-bfin5xx: replace platform_driver_probe to support deferred probing

Subsystems like pinctrl and gpio rightfully make use of deferred probing at
core level. Now, deferred drivers won't be retried if they don't have a .probe
function specified in the driver struct. Fix this driver to have that, so the
devices it supports won't get lost in a deferred probe.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-bfin5xx.c