]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
i2c: remove 'of_node' member from i2c_boardinfo
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 19 May 2025 11:13:14 +0000 (13:13 +0200)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 20 May 2025 20:49:39 +0000 (22:49 +0200)
There is no user of this member anymore. We can remove it.

Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
include/linux/i2c.h

index cc1437f29823de1e8f127f1ac5ca34e0c9ff7414..20fd41b51d5c85ee1665395c07345faafd8e2fca 100644 (file)
@@ -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 <busnr>-<addr> 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;