[PATCH] staging:ktap:ktap.c: fix coding style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fixed the errors and warnings found by
checkpatch.pl script.

Signed-off-by: Gokulnath A <Gokulnath.Avanashilingam@xxxxxxxxxxxx>
---
 drivers/staging/ktap/interpreter/ktap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ktap/interpreter/ktap.c
b/drivers/staging/ktap/interpreter/ktap.c
index 18d8fc8..b84ebca 100644
--- a/drivers/staging/ktap/interpreter/ktap.c
+++ b/drivers/staging/ktap/interpreter/ktap.c
@@ -128,7 +128,7 @@ static int ktap_main(struct file *file, ktap_parm *parm)
     kp_final_exit(ks);

  out:
-    atomic_dec(&kp_is_running);
+    atomic_dec(&kp_is_running);
     return ret;
 }

@@ -157,7 +157,7 @@ static long ktap_ioctl(struct file *file, unsigned
int cmd, unsigned long arg)
         return -EINVAL;
     };

-        return 0;
+    return 0;
 }

 static const struct file_operations ktap_fops = {
--
1.8.1.2
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux