Commit
7ed8c7d440d497913a2218831a67b5897e0e86e1
Exists in
master
and in
20 other branches
dlt-processor-sdk-linux-03.00.00.04, newt-ti-linux-3.12.y, processor-sdk-linux-01.00.00, processor-sdk-linux-02.00.01, smarc-ti-linux-3.12.10, smarc-ti-linux-3.12.y, smarc-ti-linux-3.14.y, smarc-ti-linux-3.15.y, smarc-ti-lsk-linux-4.1.y, smarct3x-processor-sdk-04.01.00.06, smarct3x-processor-sdk-linux-02.00.01, smarct3x-processor-sdk-linux-03.00.00.04, smarct4x-800-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-04.01.00.06, smarct4x-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-linux-03.00.00.04, ti-linux-3.12.y, ti-linux-3.14.y, ti-linux-3.15.y, ti-lsk-linux-4.1.y
[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
... |
... |
@@ -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> |
... |
... |
@@ -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> |
... |
... |
@@ -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> |
... |
... |
@@ -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> |
... |
... |
@@ -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> |
... |
... |
@@ -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> |