i2c: i2c-imx: replace platform_driver_probe to support deferred probing
authorWolfram Sang <wsa@the-dreams.de>
Tue, 8 Oct 2013 20:35:34 +0000 (22:35 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 10 Oct 2013 08:22:29 +0000 (10:22 +0200)
commit3611431ce7281a6542d47bd5b2fc2206fed5749f
tree942df4875b8bf5bf5da508f3bd3406f88be221fe
parentcccdcea14fc2de8707c52e537fa2b384ccfe7ec2
i2c: i2c-imx: 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.

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c