Re: [PATCH v4 5/7] i2c: core: Do not dereference fwnode in struct device
From: Wolfram Sang
Date: Wed Apr 16 2025 - 02:59:10 EST
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.
Thanks!
Attachment:
signature.asc
Description: PGP signature