]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: wmt: Reduce redundant: bus busy check
authorHans Hu <hanshu-oc@zhaoxin.com>
Thu, 2 Nov 2023 02:53:51 +0000 (10:53 +0800)
committerWolfram Sang <wsa@kernel.org>
Thu, 18 Jan 2024 20:10:43 +0000 (21:10 +0100)
commit462e9804d2c90bfffb494718b5aae5c374ff3b78
tree9731aadaa42135fbd0a912c2956bd00c9790c82e
parenta8355235dbd571b32c750ee756dd6dac216d18f2
i2c: wmt: Reduce redundant: bus busy check

Put wmt_i2c_wait_bus_not_busy() in a more appropriate place
to reduce code redundancy

Signed-off-by: Hans Hu <hanshu-oc@zhaoxin.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-wmt.c