Re: [PATCH v1 03/11] i2c: designware-pci: Use temporary variable for struct device

From: Jarkko Nikula
Date: Wed Dec 08 2021 - 07:35:26 EST


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@xxxxxxxxxxxxxxx>
---
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