lkml.org 
[lkml]   [2021]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v1 03/11] i2c: designware-pci: Use temporary variable for struct device
From
On 12/7/21 21:21, Andy Shevchenko wrote:
> Use temporary variable for struct device to make code neater.
>
> While at it, rename variable of struct dw_i2c_dev pointer to i_dev.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> drivers/i2c/busses/i2c-designware-pcidrv.c | 99 +++++++++++-----------
> 1 file changed, 50 insertions(+), 49 deletions(-)
>
I think struct dw_i2c_dev *dev to *i_dev renaming would be better to do
consistently through the all drivers/i2c/busses/i2c-designware-* or
leave as is?

Jarkko

\
 
 \ /
  Last update: 2021-12-08 13:36    [W:0.076 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site