i2c: rcar: refactor status bit handling
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 28 May 2014 07:44:42 +0000 (09:44 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 1 Jun 2014 20:22:42 +0000 (22:22 +0200)
commit3c95de674496e08d3b373f85af4aa59c23ddb8d6
tree52b61accc660d2a0eed134564a52098df6241cd9
parent386babf8e2f7dd483f88e5c0c4c761346b750185
i2c: rcar: refactor status bit handling

The old macros made it harder to see what was actually happening.
Replace them with something more readable.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c