Re: [PATCH 4/6] i2c: designware-amdisp: use i2c_adapter_dev()

From: Andy Shevchenko
Date: Mon Jan 05 2026 - 16:42:39 EST


On Mon, Jan 05, 2026 at 02:26:06PM -0500, Nirujogi, Pratap wrote:
> On 12/23/2025 5:08 AM, Bartosz Golaszewski wrote:

> > Use i2c_adapter_dev() where applicable in order to avoid direct
> > dereferencing of struct device embedded within struct i2c_adapter.
> >
> > Signed-off-by: Bartosz Golaszewski<bartosz.golaszewski@xxxxxxxxxxxxxxxx>
>
> Acked-by: Pratap Nirujogi<pratap.nirujogi@xxxxxxx>
>
> (I'm assuming Andy's suggestion to use i2c_adapter_set_node() will be covered
> in the other patch series)

With that done, this patch won't be needed at all.

--
With Best Regards,
Andy Shevchenko