[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1496452704-16634-1-git-send-email-edcarter@ualberta.ca>
Date: Fri, 2 Jun 2017 18:18:24 -0700
From: Elias Carter <edcarter@...berta.ca>
To: gregkh@...uxfoundation.org
Cc: irsaber@...il.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, edcarter <edcarter@...berta.ca>
Subject: [PATCH] Staging: comedi: s626.c: fixed trailing */ style issue
From: edcarter <edcarter@...berta.ca>
Fixed coding style issue where trailing */ in block comments
were not on separate lines.
Signed-off-by: Elias Carter <edcarter@...berta.ca>
---
drivers/staging/comedi/drivers/s626.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c
index 4b9c226..c906c9a 100644
--- a/drivers/staging/comedi/drivers/s626.c
+++ b/drivers/staging/comedi/drivers/s626.c
@@ -580,11 +580,14 @@ static int s626_set_dac(struct comedi_device *dev,
* running after the packet has been sent to the target DAC.
*/
val = 0x0F000000; /* Continue clock after target DAC data
- * (write to non-existent trimdac). */
+ * (write to non-existent trimdac).
+ */
val |= 0x00004000; /* Address the two main dual-DAC devices
- * (TSL's chip select enables target device). */
+ * (TSL's chip select enables target device).
+ */
val |= ((u32)(chan & 1) << 15); /* Address the DAC channel
- * within the device. */
+ * within the device.
+ */
val |= (u32)dacdata; /* Include DAC setpoint data. */
return s626_send_dac(dev, val);
}
--
2.7.4
Powered by blists - more mailing lists