]> 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)
commit9b27d04bcdeeac71f63fa6e18cb3fca224479072
tree3c25536f8e63fdfd8532ec9b82245d0d44e4bcef
parent8d511278e8dce1296c703c05ad0eb3c06eb79cae
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