Re: [PATCH v1 1/1] i2c: robotfuzz-osif: Propagate parent device to I2C core

From: Andy Shevchenko
Date: Sun Feb 20 2022 - 05:58:24 EST


On Fri, Feb 18, 2022 at 03:22:19PM +0100, Wolfram Sang wrote:
>
> > + struct device *dev = &interface->dev;
>
> This now creates a mixture of 'dev' and '&interface->dev'...
>
> > + priv->adapter.dev.parent = dev;
>
> I propose to use &interface->dev here in this patch and convert to dev
> in a later patch?

Why not?
Will do for next version (next week).

--
With Best Regards,
Andy Shevchenko