i2c: i2c-mux-reg: convert to use an explicit i2c mux core
authorPeter Rosin <peda@axentia.se>
Wed, 20 Apr 2016 06:40:27 +0000 (08:40 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 22 Apr 2016 12:56:41 +0000 (14:56 +0200)
commit193304aef8523265884f08144b1f98ad272e2d7e
treeef6056f2c29474ce17bfa6bf995d4ce6b2bf9dc2
parent7fcac980717532a20762e03f0d228bfc58393ed3
i2c: i2c-mux-reg: 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-reg.c