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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux