diff options
| author | Wolfram Sang <[email protected]> | 2019-01-16 21:05:54 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2019-01-22 23:18:09 +0000 |
| commit | 63c524600353a9c2d097041863a9ab36ed2db79b (patch) | |
| tree | 02892bc0c3674cbe5a25ece33c7c2d41712af0e0 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | i2c: sh_mobile: replace break; with if-block (diff) | |
| download | kernel-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
