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>