Re: [PATCH v1 1/1] media: i2c: ds90ub960: Remove of_node assignment
From: Andy Shevchenko
Date: Mon Apr 07 2025 - 12:00:46 EST
On Thu, Apr 03, 2025 at 02:12:36PM +0300, Andy Shevchenko wrote:
> On Thu, Apr 03, 2025 at 02:01:40PM +0300, Tomi Valkeinen wrote:
> > On 12/03/2025 19:41, Andy Shevchenko wrote:
> > > 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.
FWIW, this patch had been send as part of the i2c conversion series.
Please, do not apply it standalone (at least without that i2c stuff
being accepted and applied first).
--
With Best Regards,
Andy Shevchenko