]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
spi: armada-3700: Coding style fixes
authorRomain Perier <romain.perier@free-electrons.com>
Wed, 21 Dec 2016 10:10:29 +0000 (11:10 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 31 Dec 2016 18:53:16 +0000 (18:53 +0000)
commit85798e153e6c3834ab2d69ee9d4db7d85f13809d
treea05fbddec3b6cadf5fcb448e3f99ca7fcc7edd81
parentcfd6693c06324174ceeac7aed570a0df67db7c4f
spi: armada-3700: Coding style fixes

The following warning are reported by checkpatch.pl:

CHECK: Alignment should match open parenthesis
+static void a3700_spi_transfer_setup(struct spi_device *spi,
+                                   struct spi_transfer *xfer)

WARNING: Missing a blank line after declarations
+                       u32 data = le32_to_cpu(val);
+                       memcpy(a3700_spi->rx_buf, &data, 4);

total: 0 errors, 1 warnings, 1 checks, 923 lines checked

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-armada-3700.c