diff options
author | Colin Ian King <colin.king@canonical.com> | 2015-07-31 13:42:29 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-04 17:51:32 +0100 |
commit | 89a6356676eba38e498507b5b67dcc07a714a149 (patch) | |
tree | e0ae1f6a3fd6801d980ee96be51f627050a22a18 /drivers/spi | |
parent | ffe2288828cb3aa45f6752d99ec7113f5135d1fa (diff) | |
download | blackbird-op-linux-89a6356676eba38e498507b5b67dcc07a714a149.tar.gz blackbird-op-linux-89a6356676eba38e498507b5b67dcc07a714a149.zip |
spi: spidev: fix inconsistent indenting
Fix inconsistent indenting in spidev_open, no functional change.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spidev.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |