diff options
| author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2014-01-21 16:22:59 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 18:10:19 -0500 |
| commit | 4c020b032b8a15966e1207b71144ffbb75697e29 (patch) | |
| tree | 586c15e9c8059332810cd296e39f2baedd539b26 /drivers/char | |
| parent | 590eca1e9f10b7ddf97718c6c4c12c73d0fd0083 (diff) | |
drivers/char: delete non-required instances of include <linux/init.h>
None of these files are actually using any __init type directives
and hence don't need to include <linux/init.h>. Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.
Cc: David Airlie <airlied@linux.ie>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Corey Minyard <minyard@acm.org>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Peter Huewe <peterhuewe@gmx.de>
Cc: Ashley Lai <ashley@ashleylai.com>
Cc: Marcel Selhorst <tpmdd@selhorst.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
| -rw-r--r-- | drivers/char/agp/frontend.c | 1 | ||||
| -rw-r--r-- | drivers/char/agp/generic.c | 1 | ||||
| -rw-r--r-- | drivers/char/agp/intel-gtt.c | 1 | ||||
| -rw-r--r-- | drivers/char/agp/sgi-agp.c | 1 | ||||
| -rw-r--r-- | drivers/char/hw_random/bcm2835-rng.c | 1 | ||||
| -rw-r--r-- | drivers/char/hw_random/core.c | 1 | ||||
| -rw-r--r-- | drivers/char/hw_random/exynos-rng.c | 1 | ||||
| -rw-r--r-- | drivers/char/hw_random/n2-drv.c | 1 | ||||
| -rw-r--r-- | drivers/char/hw_random/nomadik-rng.c | 1 | ||||
| -rw-r--r-- | drivers/char/hw_random/octeon-rng.c | 1 | ||||
| -rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 1 | ||||
| -rw-r--r-- | drivers/char/mwave/3780i.c | 1 | ||||
| -rw-r--r-- | drivers/char/tile-srom.c | 1 | ||||
| -rw-r--r-- | drivers/char/tpm/tpm_i2c_infineon.c | 1 | ||||
| -rw-r--r-- | drivers/char/tpm/tpm_i2c_stm_st33.c | 1 |
15 files changed, 0 insertions, 15 deletions
diff --git a/drivers/char/agp/frontend.c b/drivers/char/agp/frontend.c index 1b192395a90c..8121b4c70ede 100644 --- a/drivers/char/agp/frontend.c +++ b/drivers/char/agp/frontend.c | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
| 32 | #include <linux/mman.h> | 32 | #include <linux/mman.h> |
| 33 | #include <linux/pci.h> | 33 | #include <linux/pci.h> |
| 34 | #include <linux/init.h> | ||
| 35 | #include <linux/miscdevice.h> | 34 | #include <linux/miscdevice.h> |
| 36 | #include <linux/agp_backend.h> | 35 | #include <linux/agp_backend.h> |
| 37 | #include <linux/agpgart.h> | 36 | #include <linux/agpgart.h> |
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index f39437addb58..0fbccce1cee9 100644 --- a/drivers/char/agp/generic.c +++ b/drivers/char/agp/generic.c | |||
| @@ -29,7 +29,6 @@ | |||
| 29 | */ | 29 | */ |
| 30 | #include <linux/module.h> | 30 | #include <linux/module.h> |
| 31 | #include <linux/pci.h> | 31 | #include <linux/pci.h> |
| 32 | #include <linux/init.h> | ||
| 33 | #include <linux/pagemap.h> | 32 | #include <linux/pagemap.h> |
| 34 | #include <linux/miscdevice.h> | 33 | #include <linux/miscdevice.h> |
| 35 | #include <linux/pm.h> | 34 | #include <linux/pm.h> |
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c index 5c85350f4c3d..9a024f899dd4 100644 --- a/drivers/char/agp/intel-gtt.c +++ b/drivers/char/agp/intel-gtt.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #include <linux/module.h> | 18 | #include <linux/module.h> |
| 19 | #include <linux/pci.h> | 19 | #include <linux/pci.h> |
| 20 | #include <linux/init.h> | ||
| 21 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
| 22 | #include <linux/pagemap.h> | 21 | #include <linux/pagemap.h> |
| 23 | #include <linux/agp_backend.h> | 22 | #include <linux/agp_backend.h> |
diff --git a/drivers/char/agp/sgi-agp.c b/drivers/char/agp/sgi-agp.c index 05b8d0241bde..3051c73bc383 100644 --- a/drivers/char/agp/sgi-agp.c +++ b/drivers/char/agp/sgi-agp.c | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
| 16 | #include <linux/pci.h> | 16 | #include <linux/pci.h> |
| 17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
| 18 | #include <linux/init.h> | ||
| 19 | #include <linux/agp_backend.h> | 18 | #include <linux/agp_backend.h> |
| 20 | #include <asm/sn/addrs.h> | 19 | #include <asm/sn/addrs.h> |
| 21 | #include <asm/sn/io.h> | 20 | #include <asm/sn/io.h> |
diff --git a/drivers/char/hw_random/bcm2835-rng.c b/drivers/char/hw_random/bcm2835-rng.c index 43577ca780e3..8c3b255e629a 100644 --- a/drivers/char/hw_random/bcm2835-rng.c +++ b/drivers/char/hw_random/bcm2835-rng.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <linux/hw_random.h> | 10 | #include <linux/hw_random.h> |
| 11 | #include <linux/init.h> | ||
| 12 | #include <linux/io.h> | 11 | #include <linux/io.h> |
| 13 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
| 14 | #include <linux/module.h> | 13 | #include <linux/module.h> |
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index a0f7724852eb..b9495a8c05c6 100644 --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c | |||
| @@ -37,7 +37,6 @@ | |||
| 37 | #include <linux/kernel.h> | 37 | #include <linux/kernel.h> |
| 38 | #include <linux/fs.h> | 38 | #include <linux/fs.h> |
| 39 | #include <linux/sched.h> | 39 | #include <linux/sched.h> |
| 40 | #include <linux/init.h> | ||
| 41 | #include <linux/miscdevice.h> | 40 | #include <linux/miscdevice.h> |
| 42 | #include <linux/delay.h> | 41 | #include <linux/delay.h> |
| 43 | #include <linux/slab.h> | 42 | #include <linux/slab.h> |
diff --git a/drivers/char/hw_random/exynos-rng.c b/drivers/char/hw_random/exynos-rng.c index 402ccfb625c5..9f8277cc44b4 100644 --- a/drivers/char/hw_random/exynos-rng.c +++ b/drivers/char/hw_random/exynos-rng.c | |||
| @@ -22,7 +22,6 @@ | |||
| 22 | #include <linux/hw_random.h> | 22 | #include <linux/hw_random.h> |
| 23 | #include <linux/kernel.h> | 23 | #include <linux/kernel.h> |
| 24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
| 25 | #include <linux/init.h> | ||
| 26 | #include <linux/io.h> | 25 | #include <linux/io.h> |
| 27 | #include <linux/platform_device.h> | 26 | #include <linux/platform_device.h> |
| 28 | #include <linux/clk.h> | 27 | #include <linux/clk.h> |
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index f9beed54d0c8..432232eefe05 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | #include <linux/module.h> | 7 | #include <linux/module.h> |
| 8 | #include <linux/types.h> | 8 | #include <linux/types.h> |
| 9 | #include <linux/delay.h> | 9 | #include <linux/delay.h> |
| 10 | #include <linux/init.h> | ||
| 11 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
| 12 | #include <linux/workqueue.h> | 11 | #include <linux/workqueue.h> |
| 13 | #include <linux/preempt.h> | 12 | #include <linux/preempt.h> |
diff --git a/drivers/char/hw_random/nomadik-rng.c b/drivers/char/hw_random/nomadik-rng.c index 232b87fb5fc9..00e9d2d46634 100644 --- a/drivers/char/hw_random/nomadik-rng.c +++ b/drivers/char/hw_random/nomadik-rng.c | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | 10 | ||
| 11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
| 12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
| 13 | #include <linux/init.h> | ||
| 14 | #include <linux/device.h> | 13 | #include <linux/device.h> |
| 15 | #include <linux/amba/bus.h> | 14 | #include <linux/amba/bus.h> |
| 16 | #include <linux/hw_random.h> | 15 | #include <linux/hw_random.h> |
diff --git a/drivers/char/hw_random/octeon-rng.c b/drivers/char/hw_random/octeon-rng.c index f2885dbe1849..b5cc3420c659 100644 --- a/drivers/char/hw_random/octeon-rng.c +++ b/drivers/char/hw_random/octeon-rng.c | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
| 13 | #include <linux/init.h> | ||
| 14 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
| 15 | #include <linux/device.h> | 14 | #include <linux/device.h> |
| 16 | #include <linux/hw_random.h> | 15 | #include <linux/hw_random.h> |
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 03f41896d090..b7efd3c1a882 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
| @@ -61,7 +61,6 @@ | |||
| 61 | #include <linux/ipmi_smi.h> | 61 | #include <linux/ipmi_smi.h> |
| 62 | #include <asm/io.h> | 62 | #include <asm/io.h> |
| 63 | #include "ipmi_si_sm.h" | 63 | #include "ipmi_si_sm.h" |
| 64 | #include <linux/init.h> | ||
| 65 | #include <linux/dmi.h> | 64 | #include <linux/dmi.h> |
| 66 | #include <linux/string.h> | 65 | #include <linux/string.h> |
| 67 | #include <linux/ctype.h> | 66 | #include <linux/ctype.h> |
diff --git a/drivers/char/mwave/3780i.c b/drivers/char/mwave/3780i.c index 881c9e595939..28740046bc83 100644 --- a/drivers/char/mwave/3780i.c +++ b/drivers/char/mwave/3780i.c | |||
| @@ -50,7 +50,6 @@ | |||
| 50 | #include <linux/unistd.h> | 50 | #include <linux/unistd.h> |
| 51 | #include <linux/delay.h> | 51 | #include <linux/delay.h> |
| 52 | #include <linux/ioport.h> | 52 | #include <linux/ioport.h> |
| 53 | #include <linux/init.h> | ||
| 54 | #include <linux/bitops.h> | 53 | #include <linux/bitops.h> |
| 55 | #include <linux/sched.h> /* cond_resched() */ | 54 | #include <linux/sched.h> /* cond_resched() */ |
| 56 | 55 | ||
diff --git a/drivers/char/tile-srom.c b/drivers/char/tile-srom.c index 0e506bad1986..bd377472dcfb 100644 --- a/drivers/char/tile-srom.c +++ b/drivers/char/tile-srom.c | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | 20 | ||
| 21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
| 22 | #include <linux/moduleparam.h> | 22 | #include <linux/moduleparam.h> |
| 23 | #include <linux/init.h> | ||
| 24 | #include <linux/kernel.h> /* printk() */ | 23 | #include <linux/kernel.h> /* printk() */ |
| 25 | #include <linux/slab.h> /* kmalloc() */ | 24 | #include <linux/slab.h> /* kmalloc() */ |
| 26 | #include <linux/fs.h> /* everything... */ | 25 | #include <linux/fs.h> /* everything... */ |
diff --git a/drivers/char/tpm/tpm_i2c_infineon.c b/drivers/char/tpm/tpm_i2c_infineon.c index 52b9b2b2f300..472af4bb1b61 100644 --- a/drivers/char/tpm/tpm_i2c_infineon.c +++ b/drivers/char/tpm/tpm_i2c_infineon.c | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | * | 21 | * |
| 22 | * | 22 | * |
| 23 | */ | 23 | */ |
| 24 | #include <linux/init.h> | ||
| 25 | #include <linux/i2c.h> | 24 | #include <linux/i2c.h> |
| 26 | #include <linux/module.h> | 25 | #include <linux/module.h> |
| 27 | #include <linux/wait.h> | 26 | #include <linux/wait.h> |
diff --git a/drivers/char/tpm/tpm_i2c_stm_st33.c b/drivers/char/tpm/tpm_i2c_stm_st33.c index 5b0dd8ef74c0..3b7bf2162898 100644 --- a/drivers/char/tpm/tpm_i2c_stm_st33.c +++ b/drivers/char/tpm/tpm_i2c_stm_st33.c | |||
| @@ -38,7 +38,6 @@ | |||
| 38 | #include <linux/miscdevice.h> | 38 | #include <linux/miscdevice.h> |
| 39 | #include <linux/kernel.h> | 39 | #include <linux/kernel.h> |
| 40 | #include <linux/delay.h> | 40 | #include <linux/delay.h> |
| 41 | #include <linux/init.h> | ||
| 42 | #include <linux/wait.h> | 41 | #include <linux/wait.h> |
| 43 | #include <linux/string.h> | 42 | #include <linux/string.h> |
| 44 | #include <linux/interrupt.h> | 43 | #include <linux/interrupt.h> |
