diff options
author | Colin Ian King <colin.king@canonical.com> | 2015-07-31 14:42:29 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-04 18:51:32 +0200 |
commit | 89a6356676eba38e498507b5b67dcc07a714a149 (patch) | |
tree | e0ae1f6a3fd6801d980ee96be51f627050a22a18 /drivers/spi/spidev.c | |
parent | spi: spidev: Fix typo (diff) | |
download | linux-89a6356676eba38e498507b5b67dcc07a714a149.tar.xz 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/spidev.c')
-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); |