Messages in this thread | | | Date | Wed, 8 Dec 2021 14:35:21 +0200 | Subject | Re: [PATCH v1 03/11] i2c: designware-pci: Use temporary variable for struct device | From | Jarkko Nikula <> |
| |
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
| |