Re: [PATCH v4 6/7] i2c: core: Deprecate of_node in struct i2c_board_info

From: Andy Shevchenko
Date: Wed Apr 16 2025 - 11:30:24 EST


On Wed, Apr 16, 2025 at 03:00:16PM +0200, Wolfram Sang wrote:
>
> > At least the main objective is to avoid new code using of_node.
> > The rest can slowly rotten on itself (esp. if there is any under
> > arch/ for some old board files).
>
> Do you know of some examples? I mainly found i2c-powermac and I3C core
> with my two approaches (coccinelle and grep+awk). But maybe my search
> pattern is weak?

At least the first one is what I have a WIP in my local tree.
I haven't checked much and I anyway forgot the results already
(it was at the time of v1, so a couple of weeks ago or so).

--
With Best Regards,
Andy Shevchenko