lkml.org 
[lkml]   [2022]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 1/1] i2c: robotfuzz-osif: Propagate parent device to I2C core
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


\
 
 \ /
  Last update: 2022-02-20 12:02    [W:0.059 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site