staging: pi433: rf69.c style fix - code indent should use tabs
authorMarcin Ciupak <marcin.s.ciupak@gmail.com>
Wed, 11 Oct 2017 19:24:17 +0000 (21:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 13:56:32 +0000 (15:56 +0200)
This patch fixes the following checkpatch.pl error:

ERROR: code indent should use tabs where possible

in rf69.c file as requested by TODO file.

Additionally some style warnings remain valid here and could be fixed by
another patch.

Signed-off-by: Marcin Ciupak <marcin.s.ciupak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/rf69.c

index 23d6094748365d5b4a2263a2821a8545e82dec43..6420d1b67cccdfb86345a7be093079d74cfaed09 100644 (file)
@@ -959,8 +959,8 @@ int rf69_read_fifo (struct spi_device *spi, u8 *buffer, unsigned int size)
        /* prepare a bidirectional transfer */
        local_buffer[0] = REG_FIFO;
        memset(&transfer, 0, sizeof(transfer));
-       transfer.tx_buf = local_buffer;
-       transfer.rx_buf = local_buffer;
+       transfer.tx_buf = local_buffer;
+       transfer.rx_buf = local_buffer;
        transfer.len    = size+1;
 
        retval = spi_sync_transfer(spi, &transfer, 1);