diff options
author | Jamie Iles <quic_jiles@quicinc.com> | 2022-01-17 17:48:15 +0000 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-03-04 11:39:03 +0100 |
commit | 31b9887c7258ca47d9c665a80f19f006c86756b1 (patch) | |
tree | 15dc9c44005244a11d31244f3acc1524ecea996e /include/linux/i3c | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) | |
download | linux-stable-31b9887c7258ca47d9c665a80f19f006c86756b1.tar.gz linux-stable-31b9887c7258ca47d9c665a80f19f006c86756b1.tar.bz2 linux-stable-31b9887c7258ca47d9c665a80f19f006c86756b1.zip |
i3c: remove i2c board info from i2c_dev_desc
I2C board info is only required during adapter setup so there is no
requirement to keeping a pointer to it once running. To support dynamic
device addition we can't rely on board info - user-space creation
through sysfs won't have a boardinfo.
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Jamie Iles <quic_jiles@quicinc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220117174816.1963463-2-quic_jiles@quicinc.com
Diffstat (limited to 'include/linux/i3c')
-rw-r--r-- | include/linux/i3c/master.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h index 9cb39d901cd5..604a126b78c8 100644 --- a/include/linux/i3c/master.h +++ b/include/linux/i3c/master.h @@ -85,7 +85,6 @@ struct i2c_dev_boardinfo { */ struct i2c_dev_desc { struct i3c_i2c_dev_desc common; - const struct i2c_dev_boardinfo *boardinfo; struct i2c_client *dev; u16 addr; u8 lvr; |