Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1227186 > unrolled thread

[PATCH 0/3] staging: comedi: drivers.c: tidy up and document

Started byIan Abbott <abbotti@mev.co.uk>
First post2015-09-17 18:20 +0200
Last post2015-09-17 18:30 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/3] staging: comedi: drivers.c: tidy up and document Ian Abbott <abbotti@mev.co.uk> - 2015-09-17 18:20 +0200
    [PATCH 1/3] staging: comedi: drivers.c: remove irrelevant #includes Ian Abbott <abbotti@mev.co.uk> - 2015-09-17 18:30 +0200

#1227186 — [PATCH 0/3] staging: comedi: drivers.c: tidy up and document

FromIan Abbott <abbotti@mev.co.uk>
Date2015-09-17 18:20 +0200
Subject[PATCH 0/3] staging: comedi: drivers.c: tidy up and document
Message-ID<q9K4F-np-3@gated-at.bofh.it>
Remove unneeded #include's in COMEDI's "drivers.c" and add/change
kernel-doc for exported functions.

1) staging: comedi: drivers.c: remove irrelevant #includes
2) staging: comedi: drivers.c: replace #include <linux/dma-mapping.h>
3) staging: comedi: drivers.c: document exported functions

 drivers/staging/comedi/drivers.c | 337 ++++++++++++++++++++++++++++++---------
 1 file changed, 259 insertions(+), 78 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1227190 — [PATCH 1/3] staging: comedi: drivers.c: remove irrelevant #includes

FromIan Abbott <abbotti@mev.co.uk>
Date2015-09-17 18:30 +0200
Subject[PATCH 1/3] staging: comedi: drivers.c: remove irrelevant #includes
Message-ID<q9Kem-yZ-5@gated-at.bofh.it>
In reply to#1227186
Comedi's "drivers.c" doesn't use anything from these included headers,
so remove them.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
---
 drivers/staging/comedi/drivers.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c
index 387fac1..e3b9957 100644
--- a/drivers/staging/comedi/drivers.c
+++ b/drivers/staging/comedi/drivers.c
@@ -20,18 +20,10 @@
 #include <linux/device.h>
 #include <linux/module.h>
 #include <linux/errno.h>
-#include <linux/kconfig.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
-#include <linux/fcntl.h>
 #include <linux/ioport.h>
-#include <linux/mm.h>
 #include <linux/slab.h>
-#include <linux/highmem.h>	/* for SuSE brokenness */
-#include <linux/vmalloc.h>
-#include <linux/cdev.h>
 #include <linux/dma-mapping.h>
-#include <linux/io.h>
 #include <linux/interrupt.h>
 #include <linux/firmware.h>
 
-- 
2.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web