i2c: pxa: re-arrange functions to flow better
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 27 Apr 2020 18:48:51 +0000 (19:48 +0100)
committerWolfram Sang <wsa@kernel.org>
Tue, 5 May 2020 12:50:14 +0000 (14:50 +0200)
commit1ae49a15eea0b7c7ca26aa112abc7ec878d69d70
tree415001d770aeeb7bc1727a68ad617a5e74ab41bd
parent8de32da283e39d07ea4cea09a9b89447cacc3b4c
i2c: pxa: re-arrange functions to flow better

Re-arrange the PXA I2C code to avoid forward declarations, and keep
similar functionality (e.g. the non-IRQ mode support) together. This
improves code 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