]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: pxa: clean up decode_bits()
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 27 Apr 2020 18:49:27 +0000 (19:49 +0100)
committerWolfram Sang <wsa@kernel.org>
Tue, 5 May 2020 12:51:01 +0000 (14:51 +0200)
commit6ce7b0ad86b70f3ba91b5b2067e6b20950a99c0d
tree79bbc562c821a61d7107abc67a940fe2e21c54ea
parent5c8180a12934f07fabb055a4d820fb519db9b08f
i2c: pxa: clean up decode_bits()

Clean up decode_bits() to use pr_cont(), and move the newline into the
function rather than at its two callsites. Avoid printing an
unnecessary space before the newline.

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