From: Colin Ian King Date: Fri, 31 Jul 2015 12:42:29 +0000 (+0100) Subject: spi: spidev: fix inconsistent indenting X-Git-Tag: firefly_0821_release~176^2~1210^2~1^5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=89a6356676eba38e498507b5b67dcc07a714a149;p=firefly-linux-kernel-4.4.55.git spi: spidev: fix inconsistent indenting Fix inconsistent indenting in spidev_open, no functional change. Signed-off-by: Colin Ian King Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 9d8841efffd8..029463ada19c 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -602,11 +602,11 @@ static int spidev_open(struct inode *inode, struct file *filp) if (!spidev->tx_buffer) { spidev->tx_buffer = kmalloc(bufsiz, GFP_KERNEL); if (!spidev->tx_buffer) { - dev_dbg(&spidev->spi->dev, "open/ENOMEM\n"); - status = -ENOMEM; + dev_dbg(&spidev->spi->dev, "open/ENOMEM\n"); + status = -ENOMEM; goto err_find_dev; - } } + } if (!spidev->rx_buffer) { spidev->rx_buffer = kmalloc(bufsiz, GFP_KERNEL);