Re: [PATCH v4 5/7] i2c: core: Do not dereference fwnode in struct device

From: Wolfram Sang
Date: Wed Apr 16 2025 - 03:21:06 EST


On Wed, Apr 16, 2025 at 10:02:15AM +0300, Andy Shevchenko wrote:
> On Wed, Apr 16, 2025 at 08:55:27AM +0200, Wolfram Sang wrote:
> > On Mon, Apr 14, 2025 at 01:01:55PM +0300, Andy Shevchenko wrote:
> > > In order to make the underneath API easier to change in the future,
> > > prevent users from dereferencing fwnode from struct device.
> > > Instead, use the specific device_set_node() API for that.
> > >
> > > Tested-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>
> > > Reviewed-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
> > > Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
> > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> >
> > I'll check this patch later today. Rest of the series looks good to me
> > already.
>
> Note, I'm planning to send a v5 shortly with the style fixes and commit
> messages as you suggested.

Please wait with that like half an hour.

Attachment: signature.asc
Description: PGP signature