i2c: i2c-mux-gpio: use deferred probing
authorIonut Nicu <ioan.nicu.ext@nsn.com>
Wed, 9 Oct 2013 09:50:45 +0000 (11:50 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 10 Oct 2013 08:22:33 +0000 (10:22 +0200)
commit9937b8d89e1b70c08330b57afbc62c934e37c9e2
tree7634cf32455503af0eb60c1ad26f86c916a6679b
parent492ed77bfadb968cca7beca348cd45b444393cd4
i2c: i2c-mux-gpio: use deferred probing

If the i2c-parent bus driver is not loaded, returning
-ENODEV will force people to unload and then reload the
module again to get it working.

Signed-off-by: Ionut Nicu <ioan.nicu.ext@nsn.com>
Acked-by: Peter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/muxes/i2c-mux-gpio.c