i2c: sh_mobile: replace break; with if-block
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 16 Jan 2019 21:05:53 +0000 (22:05 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 22 Jan 2019 23:18:09 +0000 (00:18 +0100)
commit0130e3bfa9fa102252ad318d0f5608cc09822baa
treedccca5b65db909a7f9ab8ade56f616905f791260
parente659f36d46904b5e0e860401c0454fcf6025f419
i2c: sh_mobile: replace break; with if-block

In preparation to remove the do-while-loop.

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>
drivers/i2c/busses/i2c-sh_mobile.c