]> 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)
commit13de36538da205dd26bd378623573d2d9a25b62b
tree415001d770aeeb7bc1727a68ad617a5e74ab41bd
parent9d9ff4d5dfe49d5af0045902aadb61c2eead6c41
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