commit | 6d2cfb109725b748f47a242f87be9c31bf7e42c0 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Tue Oct 08 22:35:36 2013 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Oct 10 10:22:30 2013 +0200 |
tree | 15cf5651f1842a87875e7a4e2b73799a1d41f4ca | |
parent | cc40bf9a444f687a7b76450b1ad742b2ea262af4 [diff] |
i2c: i2c-stu300: 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: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>