[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1469345851-3070-1-git-send-email-nadim.902@gmail.com>
Date: Sun, 24 Jul 2016 00:37:31 -0700
From: Nadim almas <nadim.902@...il.com>
To: sumit.semwal@...aro.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
sarique <nadim.902@...il.com>,
Nadim almas <nadim.902@...il.com.com>
Subject: [PATCH 31/32] staging: android: ion: ion.c fixed a 80 character line limit coding style issue
From: sarique <nadim.902@...il.com>
fixed a coding style issue.
Signed-off-by: Nadim almas <nadim.902@...il.com.com>
---
drivers/staging/android/ion/ion.c | 3 ++-
drivers/staging/comedi/drivers/ssv_dnp.c | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index a2cf93b..52345df 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -1358,7 +1358,8 @@ static long ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
struct ion_handle *handle;
mutex_lock(&client->lock);
- handle = ion_handle_get_by_id_nolock(client, data.handle.handle);
+ handle = ion_handle_get_by_id_nolock(client,
+data.handle.handle);
if (IS_ERR(handle)) {
mutex_unlock(&client->lock);
return PTR_ERR(handle);
diff --git a/drivers/staging/comedi/drivers/ssv_dnp.c b/drivers/staging/comedi/drivers/ssv_dnp.c
index f9f634f..5674427 100644
--- a/drivers/staging/comedi/drivers/ssv_dnp.c
+++ b/drivers/staging/comedi/drivers/ssv_dnp.c
@@ -121,9 +121,9 @@ static int dnp_dio_insn_config(struct comedi_device *dev,
}
val = inb(CSCDR);
- if (data[0] == COMEDI_OUTPUT)
+ if (data[0] == COMEDI_OUTPUT)
val |= mask;
- else
+ else
val &= ~mask;
outb(val, CSCDR);
--
2.7.4
Powered by blists - more mailing lists