aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus
diff options
context:
space:
mode:
authorPhilippe Dixon <philippesdixon@gmail.com>2021-05-19 12:39:38 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-20 11:40:36 +0200
commit62d7ecaf56bacf0c4248d640ac11cb632b01361b (patch)
tree4c2c9e4080a4f472185f2639efe3179ea5a02099 /drivers/staging/greybus
parentStaging: greybus: fix open parenthesis error in gbphy.c (diff)
downloadlinux-dev-62d7ecaf56bacf0c4248d640ac11cb632b01361b.tar.xz
linux-dev-62d7ecaf56bacf0c4248d640ac11cb632b01361b.zip
staging: greybus: spi: add blank line after variable declaration
This patch fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations Reviewed-by: Alex Elder <elder@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Philippe Dixon <philippesdixon@gmail.com> Link: https://lore.kernel.org/r/20210519193938.GA7131@ubuntu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r--drivers/staging/greybus/spilib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/spilib.c b/drivers/staging/greybus/spilib.c
index 30655153df6a..ad0700a0bb81 100644
--- a/drivers/staging/greybus/spilib.c
+++ b/drivers/staging/greybus/spilib.c
@@ -246,6 +246,7 @@ static struct gb_operation *gb_spi_operation_create(struct gb_spilib *spi,
xfer = spi->first_xfer;
while (msg->state != GB_SPI_STATE_OP_DONE) {
int xfer_delay;
+
if (xfer == spi->last_xfer)
xfer_len = spi->last_xfer_size;
else