drivers/char: delete non-required instances of include <linux/init.h>
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 21 Jan 2014 21:22:59 +0000 (16:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 23:10:19 +0000 (15:10 -0800)
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>
15 files changed:
drivers/char/agp/frontend.c
drivers/char/agp/generic.c
drivers/char/agp/intel-gtt.c
drivers/char/agp/sgi-agp.c
drivers/char/hw_random/bcm2835-rng.c
drivers/char/hw_random/core.c
drivers/char/hw_random/exynos-rng.c
drivers/char/hw_random/n2-drv.c
drivers/char/hw_random/nomadik-rng.c
drivers/char/hw_random/octeon-rng.c
drivers/char/ipmi/ipmi_si_intf.c
drivers/char/mwave/3780i.c
drivers/char/tile-srom.c
drivers/char/tpm/tpm_i2c_infineon.c
drivers/char/tpm/tpm_i2c_stm_st33.c

index 1b192395a90c840d48362fdf81a139a75243e08f..8121b4c70edec77114e20295e195fa1d5f2cc797 100644 (file)
@@ -31,7 +31,6 @@
 #include <linux/module.h>
 #include <linux/mman.h>
 #include <linux/pci.h>
-#include <linux/init.h>
 #include <linux/miscdevice.h>
 #include <linux/agp_backend.h>
 #include <linux/agpgart.h>
index f39437addb58ce2dde481f2ecdc0008024e35df4..0fbccce1cee92920106de28ff3dc2accd97d76b3 100644 (file)
@@ -29,7 +29,6 @@
  */
 #include <linux/module.h>
 #include <linux/pci.h>
-#include <linux/init.h>
 #include <linux/pagemap.h>
 #include <linux/miscdevice.h>
 #include <linux/pm.h>
index 5c85350f4c3d065e9c9bdf9ba762667604b7c0f3..9a024f899dd40a040ccede1571e1e2919e61bea9 100644 (file)
@@ -17,7 +17,6 @@
 
 #include <linux/module.h>
 #include <linux/pci.h>
-#include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/pagemap.h>
 #include <linux/agp_backend.h>
index 05b8d0241bdefe2df440bf7637f37efe7ee367df..3051c73bc3838a0ccdbc0784d7a5bac76d356cd2 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/module.h>
 #include <linux/pci.h>
 #include <linux/slab.h>
-#include <linux/init.h>
 #include <linux/agp_backend.h>
 #include <asm/sn/addrs.h>
 #include <asm/sn/io.h>
index 43577ca780e304e7c6d25d919da70927bb8ffeb5..8c3b255e629a8253f040175c968905f10a064716 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <linux/hw_random.h>
-#include <linux/init.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
index a0f7724852eb84d2ccb20eebc8e4309ea48a085c..b9495a8c05c6d7e9b192c8a2b403b7fb2ac90fdc 100644 (file)
@@ -37,7 +37,6 @@
 #include <linux/kernel.h>
 #include <linux/fs.h>
 #include <linux/sched.h>
-#include <linux/init.h>
 #include <linux/miscdevice.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
index 402ccfb625c516739b440f9a5fba76ff2c98e4d0..9f8277cc44b49639332f76b4f2c47da6db85fdd8 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/hw_random.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/init.h>
 #include <linux/io.h>
 #include <linux/platform_device.h>
 #include <linux/clk.h>
index f9beed54d0c87fe2908b7c7d84bba111ee580f0b..432232eefe057da718751d9b6721ca9a0e657aaf 100644 (file)
@@ -7,7 +7,6 @@
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/delay.h>
-#include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/workqueue.h>
 #include <linux/preempt.h>
index 232b87fb5fc911d8697b4fbddd04063614dffd07..00e9d2d466343784a46abae1bbdbb5623d6d5037 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/init.h>
 #include <linux/device.h>
 #include <linux/amba/bus.h>
 #include <linux/hw_random.h>
index f2885dbe1849e03d0691a7cc51a6e85e646a7c0f..b5cc3420c659442a7ff77d748b23e5cbf0d814df 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/device.h>
 #include <linux/hw_random.h>
index 03f41896d09050ff391ad55ef263faa1430de19a..b7efd3c1a882525431da787f1679e33729243f82 100644 (file)
@@ -61,7 +61,6 @@
 #include <linux/ipmi_smi.h>
 #include <asm/io.h>
 #include "ipmi_si_sm.h"
-#include <linux/init.h>
 #include <linux/dmi.h>
 #include <linux/string.h>
 #include <linux/ctype.h>
index 881c9e59593912261bd68a39b0c08cfbcd4b793d..28740046bc83752ffbe3ba47b3ec1a540a8bb648 100644 (file)
@@ -50,7 +50,6 @@
 #include <linux/unistd.h>
 #include <linux/delay.h>
 #include <linux/ioport.h>
-#include <linux/init.h>
 #include <linux/bitops.h>
 #include <linux/sched.h>       /* cond_resched() */
 
index 0e506bad19866d78f1952bc26666eabc7725a046..bd377472dcfb33277f20fdc382a9a717dad92823 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/init.h>
 #include <linux/kernel.h>      /* printk() */
 #include <linux/slab.h>                /* kmalloc() */
 #include <linux/fs.h>          /* everything... */
index 52b9b2b2f30045d94be453785df66e54b0cc6e0b..472af4bb1b6128d3f7a0176fcb51720115f11aec 100644 (file)
@@ -21,7 +21,6 @@
  *
  *
  */
-#include <linux/init.h>
 #include <linux/i2c.h>
 #include <linux/module.h>
 #include <linux/wait.h>
index 5b0dd8ef74c0eb896cba51c275eff71d797ad888..3b7bf216289858ece2f8aff141b9d77ed023fde2 100644 (file)
@@ -38,7 +38,6 @@
 #include <linux/miscdevice.h>
 #include <linux/kernel.h>
 #include <linux/delay.h>
-#include <linux/init.h>
 #include <linux/wait.h>
 #include <linux/string.h>
 #include <linux/interrupt.h>