i2c: pxa: add and use definitions for IBMR register
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 27 Apr 2020 18:49:01 +0000 (19:49 +0100)
committerWolfram Sang <wsa@kernel.org>
Tue, 5 May 2020 12:50:27 +0000 (14:50 +0200)
commitf8e5d3cb31cbebce6955dda462710b4c6f6d1c5a
treedd1839a7db98887ad919d1002b33a252c843c4e1
parent940695aa36f18f8cd5fc703db601b4cd2662a055
i2c: pxa: add and use definitions for IBMR register

Add definitions for the bits in the IBMR register, and use them in the
code. This improves readability.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-pxa.c