Skip to content

Commit 7e6f4a0

Browse files
author
Wolfram Sang
committed
i2c: remove 'of_node' member from i2c_boardinfo
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>
1 parent f67b89b commit 7e6f4a0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/i2c.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,6 @@ static inline bool i2c_detect_slave_mode(struct device *dev) { return false; }
405405
* @addr: stored in i2c_client.addr
406406
* @dev_name: Overrides the default <busnr>-<addr> dev_name if set
407407
* @platform_data: stored in i2c_client.dev.platform_data
408-
* @of_node: **DEPRECATED** - use @fwnode for this
409408
* @fwnode: device node supplied by the platform firmware
410409
* @swnode: software node for the device
411410
* @resources: resources associated with the device
@@ -429,7 +428,6 @@ struct i2c_board_info {
429428
unsigned short addr;
430429
const char *dev_name;
431430
void *platform_data;
432-
struct device_node *of_node;
433431
struct fwnode_handle *fwnode;
434432
const struct software_node *swnode;
435433
const struct resource *resources;

0 commit comments

Comments
 (0)