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