]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: i2c-stu300: replace platform_driver_probe to support deferred probing
authorWolfram Sang <wsa@the-dreams.de>
Tue, 8 Oct 2013 20:35:36 +0000 (22:35 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 10 Oct 2013 08:22:30 +0000 (10:22 +0200)
commit0182e6306b0c72a95942f797feae303eabade636
tree15cf5651f1842a87875e7a4e2b73799a1d41f4ca
parent2b3c8ae82bc22f54e631bb3977788d4932b064cd
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>
drivers/i2c/busses/i2c-stu300.c