Re: [PATCH 2/2] i2c: designware: Use the i2c_mark_adapter_suspended/resumed() helpers

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

 



On 2/23/22 15:48, Hans de Goede wrote:
Use the i2c_mark_adapter_suspended/resumed() i2c-core helpers and rely
on the i2c-core's suspended checking instead of using DIY code.

Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
---
  drivers/i2c/busses/i2c-designware-core.h    | 2 --
  drivers/i2c/busses/i2c-designware-master.c  | 5 -----
  drivers/i2c/busses/i2c-designware-pcidrv.c  | 8 ++------
  drivers/i2c/busses/i2c-designware-platdrv.c | 9 ++-------
  4 files changed, 4 insertions(+), 20 deletions(-)

I think Andy's Reviewed-by for 1/2 holds here too: "Both patches look good to me and seems like a nice clean up".

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