aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-algo-bit.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-01-16 22:05:54 +0100
committerWolfram Sang <wsa@the-dreams.de>2019-01-23 00:18:09 +0100
commit63c524600353a9c2d097041863a9ab36ed2db79b (patch)
tree02892bc0c3674cbe5a25ece33c7c2d41712af0e0 /include/linux/i2c-algo-bit.h
parenti2c: sh_mobile: replace break; with if-block (diff)
downloadlinux-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