]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i2c: core: Deprecate of_node in struct i2c_board_info
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Apr 2025 07:01:36 +0000 (10:01 +0300)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 16 Apr 2025 16:08:47 +0000 (18:08 +0200)
commitadc8d1200dbbe6726abf89070edb58bca95f1485
tree1bd65ed2739f0ffa97884bc23ef31985d2f8f6f9
parentdf6d7277e5525d6cce63127dd93ebec4c6354fa0
i2c: core: Deprecate of_node in struct i2c_board_info

Two members of the same or quite similar semantics is quite confusing
to begin with. Moreover, fwnode covers all possible firmware descriptions
that Linux kernel supports. Deprecate of_node in struct i2c_board_info,
so users will be warned and in the future there is a plan to convert
the users and remove it completely.

Tested-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
include/linux/i2c.h