mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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
This commit is contained in:
committed by
Alexandre Belloni
parent
e783362eb5
commit
31b9887c72
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user