]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drivers/base: delete non-required instances of include <linux/init.h>
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 21 Jan 2014 21:23:10 +0000 (16:23 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2014 22:31:37 +0000 (14:31 -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: Len Brown <len.brown@intel.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/attribute_container.c
drivers/base/power/clock_ops.c
drivers/base/power/common.c
drivers/base/power/domain.c
drivers/base/power/domain_governor.c
drivers/base/power/opp.c
drivers/base/regmap/regmap-i2c.c
drivers/base/regmap/regmap-mmio.c
drivers/base/regmap/regmap-spi.c
drivers/base/topology.c

index ecc1929d7f6a943a086112ad5d61df8816fba8ad..b84ca8f13f9e1361d51b82a90f29cc525fb9c33e 100644 (file)
@@ -12,7 +12,6 @@
  */
 
 #include <linux/attribute_container.h>
-#include <linux/init.h>
 #include <linux/device.h>
 #include <linux/kernel.h>
 #include <linux/slab.h>
index e870bbe9ec4e674d91fb3bede6e4105fd25ccd6a..b99e6c06ee678ecb5bcc6e206d3954976832eb38 100644 (file)
@@ -6,7 +6,6 @@
  * This file is released under the GPLv2.
  */
 
-#include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/device.h>
 #include <linux/io.h>
index 5da914041305907d30f26289f12643b5c581be07..df2e5eeaeb05570757ec7872c2022484c1824c87 100644 (file)
@@ -6,7 +6,6 @@
  * This file is released under the GPLv2.
  */
 
-#include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/device.h>
 #include <linux/export.h>
index bfb8955c406c5ef02d819d4d5fa02d709f0a6ec0..921b19234a4dbb81ea1506cf5596b70303cb461c 100644 (file)
@@ -6,7 +6,6 @@
  * This file is released under the GPLv2.
  */
 
-#include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/io.h>
 #include <linux/pm_runtime.h>
index 28dee3053f1fa14e4e29afedbc29260b757feb77..a089e3bcdfbc5d7ee4aa6850b90f34e9fd2a9efb 100644 (file)
@@ -6,7 +6,6 @@
  * This file is released under the GPLv2.
  */
 
-#include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/pm_domain.h>
 #include <linux/pm_qos.h>
index fa41874184401cd46c155526102fb72aed99e329..25538675d59e29ced3e8f72db2f31fe1427b920f 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/err.h>
-#include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/cpufreq.h>
 #include <linux/device.h>
index fa6bf5279d28465f095c0829381854a718313e5e..ebd189529760369df33ab021326763b7866c997d 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/regmap.h>
 #include <linux/i2c.h>
 #include <linux/module.h>
-#include <linux/init.h>
 
 static int regmap_i2c_write(void *context, const void *data, size_t count)
 {
index 81f977510775460fa2bf8b0bd500c69027c02274..4410cb2d7d8206bf7eada6e69d4f8994b9a5026e 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <linux/clk.h>
 #include <linux/err.h>
-#include <linux/init.h>
 #include <linux/io.h>
 #include <linux/module.h>
 #include <linux/regmap.h>
index 37f12ae7aadaeadc60005b2bced37ac05bc7210d..0eb3097c0d7649f7c2b8e4aa495f3f84b5d04d36 100644 (file)
@@ -12,7 +12,6 @@
 
 #include <linux/regmap.h>
 #include <linux/spi/spi.h>
-#include <linux/init.h>
 #include <linux/module.h>
 
 #include "internal.h"
index 94ffee378f103d6cd2018497a5f1a93ebcde9baf..ad9d177626640377de6e517fe6d62db093039166 100644 (file)
@@ -23,7 +23,6 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  */
-#include <linux/init.h>
 #include <linux/mm.h>
 #include <linux/cpu.h>
 #include <linux/module.h>