summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-mux.h
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-03-02 15:14:22 +0100
committerWolfram Sang <wsa@the-dreams.de>2016-04-22 15:00:19 +0200
commit23fe440c59b9f08afe108e7ec7b6714cb2a3b955 (patch)
tree1d4930ab5d71d9c3ca6357b95b43dda58ef46b4e /include/linux/i2c-mux.h
parentb6e3b7171b1e416963e36bb91ff6cce1caaaf675 (diff)
downloadtalos-op-linux-23fe440c59b9f08afe108e7ec7b6714cb2a3b955.tar.gz
talos-op-linux-23fe440c59b9f08afe108e7ec7b6714cb2a3b955.zip
i2c: mux: drop old unused i2c-mux api
All i2c mux users are using an explicit i2c mux core, drop support for implicit i2c mux cores. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/i2c-mux.h')
-rw-r--r--include/linux/i2c-mux.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/i2c-mux.h b/include/linux/i2c-mux.h
index 71ac1b3f4f68..2fa93fe1345e 100644
--- a/include/linux/i2c-mux.h
+++ b/include/linux/i2c-mux.h
@@ -53,20 +53,6 @@ static inline void *i2c_mux_priv(struct i2c_mux_core *muxc)
}
/*
- * Called to create a i2c bus on a multiplexed bus segment.
- * The mux_dev and chan_id parameters are passed to the select
- * and deselect callback functions to perform hardware-specific
- * mux control.
- */
-struct i2c_adapter *i2c_add_mux_adapter(struct i2c_adapter *parent,
- struct device *mux_dev,
- void *mux_priv, u32 force_nr, u32 chan_id,
- unsigned int class,
- int (*select) (struct i2c_adapter *,
- void *mux_dev, u32 chan_id),
- int (*deselect) (struct i2c_adapter *,
- void *mux_dev, u32 chan_id));
-/*
* Called to create an i2c bus on a multiplexed bus segment.
* The chan_id parameter is passed to the select and deselect
* callback functions to perform hardware-specific mux control.
@@ -75,7 +61,6 @@ int i2c_mux_add_adapter(struct i2c_mux_core *muxc,
u32 force_nr, u32 chan_id,
unsigned int class);
-void i2c_del_mux_adapter(struct i2c_adapter *adap);
void i2c_mux_del_adapters(struct i2c_mux_core *muxc);
#endif /* __KERNEL__ */
OpenPOWER on IntegriCloud