diff options
author | 2019-01-16 22:05:54 +0100 | |
---|---|---|
committer | 2019-01-23 00:18:09 +0100 | |
commit | 63c524600353a9c2d097041863a9ab36ed2db79b (patch) | |
tree | 02892bc0c3674cbe5a25ece33c7c2d41712af0e0 /include/linux/i2c-algo-bit.h | |
parent | i2c: sh_mobile: replace break; with if-block (diff) | |
download | linux-rng-63c524600353a9c2d097041863a9ab36ed2db79b.tar.xz linux-rng-63c524600353a9c2d097041863a9ab36ed2db79b.zip |
i2c: sh_mobile: refactor rx isr
Remove the do_while loop which was just there to have an easy exit with
"break;" and replace it with if-else-blocks which should make the state
machine clearer.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/i2c-algo-bit.h')
0 files changed, 0 insertions, 0 deletions