From: Wolfram Sang Date: Mon, 19 May 2025 11:13:14 +0000 (+0200) Subject: i2c: remove 'of_node' member from i2c_boardinfo X-Git-Tag: v6.16-rc1~112^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e6f4a0a7512eca93cecff3bcb37f0ed164949a2;p=thirdparty%2Flinux.git i2c: remove 'of_node' member from i2c_boardinfo There is no user of this member anymore. We can remove it. Reviewed-by: Andi Shyti Reviewed-by: Andy Shevchenko Signed-off-by: Wolfram Sang --- diff --git a/include/linux/i2c.h b/include/linux/i2c.h index cc1437f29823d..20fd41b51d5c8 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -405,7 +405,6 @@ static inline bool i2c_detect_slave_mode(struct device *dev) { return false; } * @addr: stored in i2c_client.addr * @dev_name: Overrides the default - dev_name if set * @platform_data: stored in i2c_client.dev.platform_data - * @of_node: **DEPRECATED** - use @fwnode for this * @fwnode: device node supplied by the platform firmware * @swnode: software node for the device * @resources: resources associated with the device @@ -429,7 +428,6 @@ struct i2c_board_info { unsigned short addr; const char *dev_name; void *platform_data; - struct device_node *of_node; struct fwnode_handle *fwnode; const struct software_node *swnode; const struct resource *resources;