]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: atsha204a: remove broken for loop
authorMichał Barnaś <barnas@google.com>
Mon, 19 Feb 2024 16:32:02 +0000 (16:32 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 5 Mar 2024 13:08:26 +0000 (08:08 -0500)
commitc4841ae4059f5eb46af38f53793f772e3dac140b
tree6fce70eaca912cf77acc4f979f3af87343077325
parent0cfc2e9225fb682a1a5b3e5d49af8ebf8d893cef
misc: atsha204a: remove broken for loop

Some previous commit changed the continue statement to return,
making the for loop used to retry waking up the chip to always
return after one iteration. This commit removes the loop, cleaning
the code a little.

Signed-off-by: Michał Barnaś <barnas@google.com>
drivers/misc/atsha204a-i2c.c