aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2019-01-16 21:05:54 +0000
committerWolfram Sang <[email protected]>2019-01-22 23:18:09 +0000
commit63c524600353a9c2d097041863a9ab36ed2db79b (patch)
tree02892bc0c3674cbe5a25ece33c7c2d41712af0e0 /drivers/i2c/algos/i2c-algo-bit.c
parenti2c: sh_mobile: replace break; with if-block (diff)
downloadkernel-63c524600353a9c2d097041863a9ab36ed2db79b.tar.gz
kernel-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 <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions