]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0becb86f14309db62792d8fb049d0c8d6b59248c
tree52b61accc660d2a0eed134564a52098df6241cd9
parentdf1f8421518394e22615a40cce7ecaaa4fefab5e
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