summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJamie Iles <quic_jiles@quicinc.com>2022-01-17 20:48:15 +0300
committerSasha Levin <sashal@kernel.org>2026-03-04 15:19:20 +0300
commit2c14fb57f45fb2670da975dc8e2a4a3c5d5dea5d (patch)
tree688463aebb5a8313e2c8f614e05dc1883f4f2680 /include
parent1ca428769cb4737a25bd32fb4d1573cc09eeaeef (diff)
downloadlinux-2c14fb57f45fb2670da975dc8e2a4a3c5d5dea5d.tar.xz
i3c: remove i2c board info from i2c_dev_desc
[ Upstream commit 31b9887c7258ca47d9c665a80f19f006c86756b1 ] 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 Stable-dep-of: 3502cea99c7c ("i3c: Move device name assignment after i3c_bus_init") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i3c/master.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h
index ea3781d73006..b31170e37655 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;