i2c: uniphier-f: use readl_poll_timeout() to poll registers
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Jan 2017 21:53:56 +0000 (06:53 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 29 Jan 2017 11:59:08 +0000 (20:59 +0900)
commit68578582ab956691ecce174057b52600f52d7d09
tree2b866d6fe2d8f79a0c756470677ffbe7e00a9981
parent800acb850ebffd91c3a51f426897566ed0441262
i2c: uniphier-f: use readl_poll_timeout() to poll registers

The readl_poll_timeout() is a useful helper to poll registers
and error out if the condition is not met.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/i2c/i2c-uniphier-f.c