]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf11b6fd5f0a4f4c0545a9e8625483e3467a207f
tree415001d770aeeb7bc1727a68ad617a5e74ab41bd
parent1d4c91eef0b6c6e488080ba6bd3d60218597fbf5
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