staging: pi433: use tabs for code indent

Fixes checkpatch error for whitespace idents.

Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Valentin Vidic 2017-12-10 15:31:11 +01:00 committed by Greg Kroah-Hartman
parent 91086b82a0
commit 3b57c15c40
2 changed files with 17 additions and 17 deletions

View file

@ -3,22 +3,22 @@
/plugin/;
/ {
compatible = "bcm,bcm2835", "bcm,bcm2708", "bcm,bcm2709";
compatible = "bcm,bcm2835", "bcm,bcm2708", "bcm,bcm2709";
fragment@0 {
target = <&spi0>;
__overlay__ {
status = "okay";
fragment@0 {
target = <&spi0>;
__overlay__ {
status = "okay";
spidev@0{
status = "disabled";
};
spidev@0{
status = "disabled";
};
spidev@1{
status = "disabled";
};
};
};
spidev@1{
status = "disabled";
};
};
};
fragment@1 {
target = <&gpio>;

View file

@ -443,8 +443,8 @@ pi433_receive(void *data)
/* wait for RSSI level to become high */
dev_dbg(dev->dev, "rx: going to wait for high RSSI level");
retval = wait_event_interruptible(dev->rx_wait_queue,
rf69_get_flag(dev->spi,
rssiExceededThreshold));
rf69_get_flag(dev->spi,
rssiExceededThreshold));
if (retval) goto abort; /* wait was interrupted */
dev->interrupt_rx_allowed = false;
@ -696,8 +696,8 @@ pi433_tx_thread(void *data)
int temp = device->free_in_fifo;
device->free_in_fifo = 0;
rf69_write_fifo(spi,
&buffer[position],
temp);
&buffer[position],
temp);
position += temp;
} else {
/* msg fits into fifo - take all */