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>
Showing
- drivers/i2c/i2c-mux.c 10 additions, 9 deletionsdrivers/i2c/i2c-mux.c
- drivers/i2c/muxes/gpio-i2cmux.c 2 additions, 1 deletiondrivers/i2c/muxes/gpio-i2cmux.c
- drivers/i2c/muxes/pca9541.c 2 additions, 1 deletiondrivers/i2c/muxes/pca9541.c
- drivers/i2c/muxes/pca954x.c 1 addition, 1 deletiondrivers/i2c/muxes/pca954x.c
- include/linux/i2c-mux.h 2 additions, 1 deletioninclude/linux/i2c-mux.h
Loading
Please register or sign in to comment