]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-i801: Let i2c-mux-gpio find the GPIO chip
authorJean Delvare <khali@linux-fr.org>
Fri, 5 Oct 2012 20:23:54 +0000 (22:23 +0200)
committerJean Delvare <khali@endymion.delvare>
Fri, 5 Oct 2012 20:23:54 +0000 (22:23 +0200)
commite9d1d778155bc71c5ed15116ebe9b3dcaf208798
tree3c25536f8e63fdfd8532ec9b82245d0d44e4bcef
parent7d8ab97be9d7aad58106a6a880b2550e9a17ca3a
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