]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c-i801: Let i2c-mux-gpio find the GPIO chip
authorJean Delvare <khali@linux-fr.org>
Sun, 7 Oct 2012 22:26:16 +0000 (09:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 7 Oct 2012 22:26:16 +0000 (09:26 +1100)
commit7c3bd78bc3bc2b26b5fffc2252222ca4d6005805
tree3c25536f8e63fdfd8532ec9b82245d0d44e4bcef
parentd477141958a1fa00ba14f9783654e43b2dac5760
i2c-i801: Let i2c-mux-gpio find the GPIO chip

Now that i2c-mux-gpio is able to find the GPIO chip by itself, we can
delegate this task. The great thing here is that i2c-mux-gpio can
defer device probing until the gpio chip is available, so we no longer
depend on the module loading order.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-i801.c