diff options
author | 2021-02-08 22:16:03 +0200 | |
---|---|---|
committer | 2021-02-09 11:35:28 +0100 | |
commit | cae5216387d18c888f9f38a0cf5be341a0af75a6 (patch) | |
tree | 23352f4404394533086945cb5e34728847af0b31 /mm/debug.c | |
parent | i2c: mux: mlxcpld: Prepare mux selection infrastructure for two-byte support (diff) | |
download | wireguard-linux-cae5216387d18c888f9f38a0cf5be341a0af75a6.tar.xz wireguard-linux-cae5216387d18c888f9f38a0cf5be341a0af75a6.zip |
i2c: mux: mlxcpld: Get rid of adapter numbers enforcement
Do not set the argument 'force_nr' of i2c_mux_add_adapter() routine,
instead provide argument 'chan_id'.
Rename mux ids array from 'adap_ids' to 'chan_ids'.
The motivation is to prepare infrastructure to be able to:
- Create only the child adapters which are actually needed - for which
channel ids are specified.
- To assign 'nrs' to these child adapters dynamically, with no 'nr'
enforcement.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions