[PATCH v2 28/37] staging: comedi: das1800: remove the private data member comments

H Hartley Sweeten hsweeten at visionengravers.com
Fri Apr 8 19:41:57 UTC 2016


The comments about the members of the private data are not really
necessary and removing them fixes a couple checkpatch.pl issues.

Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
Cc: Ian Abbott <abbotti at mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
 drivers/staging/comedi/drivers/das1800.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/comedi/drivers/das1800.c b/drivers/staging/comedi/drivers/das1800.c
index 9268acb..8302f33 100644
--- a/drivers/staging/comedi/drivers/das1800.c
+++ b/drivers/staging/comedi/drivers/das1800.c
@@ -299,12 +299,10 @@ static const struct das1800_board das1800_boards[] = {
 
 struct das1800_private {
 	struct comedi_isadma *dma;
-	int irq_dma_bits;	/* bits for control register b */
-	/* dma bits for control register b, stored so that dma can be
-	 * turned on and off */
+	int irq_dma_bits;
 	int dma_bits;
 	unsigned short *fifo_buf;
-	unsigned long iobase2;	/* secondary io address used for analog out on 'ao' boards */
+	unsigned long iobase2;
 	bool ai_is_unipolar;
 };
 
-- 
2.6.3



More information about the devel mailing list