Re: [PATCH v1 2/3] i2c: mux: gpio: Don't dereference fwnode from struct device
From: Evan Green
Date: Mon Nov 15 2021 - 12:01:57 EST
On Mon, Nov 15, 2021 at 7:42 AM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> We have a special helper to get fwnode out of struct device.
> Moreover, dereferencing it directly prevents the fwnode
> modifications in the future.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Reviewed-by: Evan Green <evgreen@xxxxxxxxxxxx>