i2c: Add a struct device * parameter to i2c_add_mux_adapter()
authorDavid Daney <david.daney@cavium.com>
Thu, 12 Apr 2012 21:14:22 +0000 (14:14 -0700)
committerWolfram Sang <w.sang@pengutronix.de>
Sat, 12 May 2012 12:28:15 +0000 (14:28 +0200)
commit5a3ecd5f9877b963a581ca5d4495a1a24dafc88c
tree9a027ed9fa53e859f79b007f5e661324cf9bfd60
parentd9afca37dea077d11ed67fc7f93b95c003e58819
i2c: Add a struct device * parameter to i2c_add_mux_adapter()

And adjust all callers.

The new device parameter is used in the next patch to initialize the
mux's of_node so that its children may be automatically populated.

Signed-off-by: David Daney <david.daney@cavium.com>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/i2c-mux.c
drivers/i2c/muxes/gpio-i2cmux.c
drivers/i2c/muxes/pca9541.c
drivers/i2c/muxes/pca954x.c
include/linux/i2c-mux.h