summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ced1401
diff options
context:
space:
mode:
authorLuca Ellero <luca.ellero@brickedbrain.com>2014-07-11 16:56:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-11 17:33:11 -0700
commit96c53cc73fef4863884c197aefc9ee610e95b62d (patch)
tree99f29142352c1557697e5647cb1b338520c7fe7c /drivers/staging/ced1401
parent4f31668f61695fd9a12434aea844bf3fba9a373f (diff)
downloadop-kernel-dev-96c53cc73fef4863884c197aefc9ee610e95b62d.zip
op-kernel-dev-96c53cc73fef4863884c197aefc9ee610e95b62d.tar.gz
staging: ced1401: usb1401.c: change spaces to tabs
Fix checkpatch errors "code indent should use tabs where possible" in file usb1401.c Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ced1401')
-rw-r--r--drivers/staging/ced1401/usb1401.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c
index 26e5f1b..a3d1ed6 100644
--- a/drivers/staging/ced1401/usb1401.c
+++ b/drivers/staging/ced1401/usb1401.c
@@ -610,9 +610,9 @@ static void staged_callback(struct urb *urb)
ta->blocks[1].offset);
}
} else { /* If block 1 is not used, we try to add */
- /*to block 0 */
+ /*to block 0 */
- /* Got stored block 0 information? */
+ /* Got stored block 0 information? */
if (ta->blocks[0].size > 0) {
/* Must append onto the */
/*existing block 0 */
@@ -738,7 +738,7 @@ static void staged_callback(struct urb *urb)
/* This feels wrong as we should ask which spin lock protects */
/* dma_flag. */
restart_char_input = !cancel && (ced->dma_flag == MODE_CHAR) &&
- !ced->xfer_waiting;
+ !ced->xfer_waiting;
spin_unlock(&ced->staged_lock); /* Finally release the lock again */
@@ -803,7 +803,7 @@ static int ced_stage_chunk(struct ced_data *ced)
ced->pipe_error[pipe] = 1; /* Flag an error to be */
/* handled later */
dev_err(&ced->interface->dev,
- "%s: submit urb failed, code %d\n",
+ "%s: submit urb failed, code %d\n",
__func__, retval);
} else
/* Set the flag for staged URB pending */
OpenPOWER on IntegriCloud