]> git.karo-electronics.de Git - linux-beck.git/commit
i2c: rcar: reuse status bits as enable bits
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 28 May 2014 07:44:44 +0000 (09:44 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 1 Jun 2014 20:22:51 +0000 (22:22 +0200)
commit3e3aabac443e25712a3788cf88cc188e13ca8b0e
tree258aeec71c8035a8e180929d57d34a930dc036a4
parent150b8be3cda54412ad7b54f5392b513b25c0aaa7
i2c: rcar: reuse status bits as enable bits

Status register and enable register are identical regarding their
layout. Use the bit definitions for both.

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