projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe2288
)
spi: spidev: fix inconsistent indenting
author
Colin Ian King
<
[email protected]
>
Fri, 31 Jul 2015 12:42:29 +0000
(13:42 +0100)
committer
Mark Brown
<
[email protected]
>
Tue, 4 Aug 2015 16:51:32 +0000
(17:51 +0100)
Fix inconsistent indenting in spidev_open, no functional change.
Signed-off-by: Colin Ian King <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/spi/spidev.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spidev.c
b/drivers/spi/spidev.c
index 9d8841efffd853b6e7bd34fcd280671c7ef1e01c..029463ada19c486b5cbf7e485e12f3d9aa5a7e10 100644
(file)
--- 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);