]> git.karo-electronics.de Git - karo-tx-linux.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)
committerRobin Gong <b38343@freescale.com>
Wed, 11 Feb 2015 05:07:28 +0000 (13:07 +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>
(cherry picked from commit 4272b9611c30f99f51590085998129480f2fe45e)
(cherry picked from commit 9680398849d6b7f74cf8874522c16064a3df535d)

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 dc127e5dec4b5371e65048f9923e80d24d7a85b0..6f54962aae1dd1a6160b777238b37f639f03f80f 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 08d99ef60b70b0798d156333009fb67ff8357056..c539d70b97abde7c98b3d9f6d0ca190c5a0d91df 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 8919a72ffb3f219b71fdb6e3bdc10b98be988aa1..821eea176b992595cbe06756b22c5f752e168e97 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 37a5661ca5f9d399d0a1246bc66f4aa5fb37c373..c928576e09276c221260c5e87f522fa58e6d9ab2 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>