spi: spi-txx9: replace platform_driver_probe to support deferred probing
authorWolfram Sang <wsa@the-dreams.de>
Tue, 8 Oct 2013 20:35:41 +0000 (22:35 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 9 Oct 2013 11:09:57 +0000 (12:09 +0100)
commit1d82d0c2682ec88a84aaae40c830bddf6ab09482
tree161b9040b2ca63d4d125872a6c923ad0f98e165a
parent93e9c900102aa2e9b10ec4758b441c8b6e53daf3
spi: spi-txx9: 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-txx9.c