i2c: i2c-mux-gpio: convert to use an explicit i2c mux core
commitbb44814763ff4f69d83818342c2b4ba09efbab0f
authorPeter Rosin <peda@axentia.se>
Wed, 20 Apr 2016 06:39:05 +0000 (20 08:39 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 22 Apr 2016 12:56:36 +0000 (22 14:56 +0200)
tree0e148d6af399f76b1de5597815f70220a5a8c4b3
parenta7ab72390b77062420fb50e4451f71c9321aae05
i2c: i2c-mux-gpio: convert to use an explicit i2c mux core

Allocate an explicit i2c mux core to handle parent and child adapters
etc. Update the select/deselect ops to be in terms of the i2c mux core
instead of the child adapter.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/muxes/i2c-mux-gpio.c