[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE=gft4uiP8fVyE-+KDM_LQBKTwPMOb51JWU7=Jt=ggJV9dSFA@mail.gmail.com>
Date: Mon, 15 Nov 2021 09:01:00 -0800
From: Evan Green <evgreen@...omium.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
Peter Korsgaard <peter.korsgaard@...co.com>,
Peter Rosin <peda@...ntia.se>
Subject: Re: [PATCH v1 2/3] i2c: mux: gpio: Don't dereference fwnode from
struct device
On Mon, Nov 15, 2021 at 7:42 AM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> 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@...ux.intel.com>
Reviewed-by: Evan Green <evgreen@...omium.org>
Powered by blists - more mailing lists