i3c: remove i2c board info from i2c_dev_desc
authorJamie Iles <quic_jiles@quicinc.com>
Mon, 17 Jan 2022 17:48:15 +0000 (17:48 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 4 Mar 2022 10:39:03 +0000 (11:39 +0100)
commit31b9887c7258ca47d9c665a80f19f006c86756b1
tree15dc9c44005244a11d31244f3acc1524ecea996e
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
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
drivers/i3c/master.c
include/linux/i3c/master.h