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