Commit 7ed8c7d440d497913a2218831a67b5897e0e86e1

Authored by David Brownell
Committed by David Woodhouse
1 parent d5e539ad7d

[MTD] we don't need no misc devices

Remove <linux/miscdevice.h> from various drivers which don't actually use
any of its contents.  There are still a number of these left in
arch-specific bits of the tree.

(Found by diffing results of "grep -rl" for linux/miscdevice.h and for
misc_register, examining the differences, and verifying removals with a
build test.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

Showing 6 changed files with 0 additions and 6 deletions Side-by-side Diff

drivers/mtd/devices/doc2000.c
... ... @@ -10,7 +10,6 @@
10 10 #include <asm/errno.h>
11 11 #include <asm/io.h>
12 12 #include <asm/uaccess.h>
13   -#include <linux/miscdevice.h>
14 13 #include <linux/delay.h>
15 14 #include <linux/slab.h>
16 15 #include <linux/sched.h>
drivers/mtd/devices/doc2001.c
... ... @@ -10,7 +10,6 @@
10 10 #include <asm/errno.h>
11 11 #include <asm/io.h>
12 12 #include <asm/uaccess.h>
13   -#include <linux/miscdevice.h>
14 13 #include <linux/delay.h>
15 14 #include <linux/slab.h>
16 15 #include <linux/init.h>
drivers/mtd/devices/doc2001plus.c
... ... @@ -14,7 +14,6 @@
14 14 #include <asm/errno.h>
15 15 #include <asm/io.h>
16 16 #include <asm/uaccess.h>
17   -#include <linux/miscdevice.h>
18 17 #include <linux/delay.h>
19 18 #include <linux/slab.h>
20 19 #include <linux/init.h>
drivers/mtd/devices/docecc.c
... ... @@ -26,7 +26,6 @@
26 26 #include <asm/errno.h>
27 27 #include <asm/io.h>
28 28 #include <asm/uaccess.h>
29   -#include <linux/miscdevice.h>
30 29 #include <linux/delay.h>
31 30 #include <linux/slab.h>
32 31 #include <linux/init.h>
drivers/mtd/inftlmount.c
... ... @@ -28,7 +28,6 @@
28 28 #include <asm/errno.h>
29 29 #include <asm/io.h>
30 30 #include <asm/uaccess.h>
31   -#include <linux/miscdevice.h>
32 31 #include <linux/delay.h>
33 32 #include <linux/slab.h>
34 33 #include <linux/init.h>
drivers/mtd/nftlcore.c
... ... @@ -15,7 +15,6 @@
15 15 #include <asm/errno.h>
16 16 #include <asm/io.h>
17 17 #include <asm/uaccess.h>
18   -#include <linux/miscdevice.h>
19 18 #include <linux/delay.h>
20 19 #include <linux/slab.h>
21 20 #include <linux/init.h>