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