diff options
author | Chao Fu <B44548@freescale.com> | 2014-09-26 10:12:52 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:37:21 (GMT) |
commit | 4bbbc2a90ab30fd3d078b18da93a2a28ad19e868 (patch) | |
tree | cba5bc3411b5a26ed4cf08e2bfedfc64525a889b /drivers/mtd | |
parent | 3b1ccb5befc258029a00b924163bc539faa05d98 (diff) | |
download | linux-fsl-qoriq-4bbbc2a90ab30fd3d078b18da93a2a28ad19e868.tar.xz |
mtd: 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 Woodhouse <dwmw2@infradead.org>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
[Brian: dropped one incorrect hunk]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
(cherry picked from commit 3ea5b037e750274659648b58fb97426566a90373)
Change-Id: I9e527be3d3783b665bb659e5e2c977bd4f2b64cc
Reviewed-on: http://git.am.freescale.net:8181/20049
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index f0871a2..1e147a8 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -15,7 +15,6 @@ * */ -#include <linux/init.h> #include <linux/err.h> #include <linux/errno.h> #include <linux/module.h> |