Re: [PATCH v2 -next] i2c: designware: Remove code duplication

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

 



On 3/11/22 00:09, Jan Dabros wrote:
Simplify code by moving common part to one function.

Signed-off-by: Jan Dabros <jsd@xxxxxxxxxxxx>
Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
v1->v2:
* Add kudos for Andy who suggested this change
* Get rid of extra function and move common code to psp_send_i2c_req
* Update commit message and commit title
   (was "i2c:designware: Add helper to remove redundancy")
  drivers/i2c/busses/i2c-designware-amdpsp.c | 35 ++++++++++------------
  1 file changed, 15 insertions(+), 20 deletions(-)

Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>



[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