]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: i2c: ds90ub960: Remove of_node assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Apr 2025 07:01:37 +0000 (10:01 +0300)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 16 Apr 2025 16:08:56 +0000 (18:08 +0200)
commit81e68e2df0410ea2fbfb8f6b81a5d7bdf326d613
tree3192492975ef023cab7d5ccaee27af3e54540d7f
parentadc8d1200dbbe6726abf89070edb58bca95f1485
media: i2c: ds90ub960: Remove of_node assignment

Remove of_node assignment which duplicates fwnode in struct i2c_board_info.
In general drivers must not set both, it's quite confusing. The I²C core
will consider fwnode with a priority and of_node is subject to remove from
above mentioned data structure.

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>
Tested-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/media/i2c/ds90ub960.c