Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: 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.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

authored by

Paul Gortmaker and committed by
Jonathan Cameron
36eb8cc2 92a18a84

-7
-1
drivers/iio/adc/ti_am335x_adc.c
··· 13 13 * GNU General Public License for more details. 14 14 */ 15 15 16 - #include <linux/init.h> 17 16 #include <linux/kernel.h> 18 17 #include <linux/err.h> 19 18 #include <linux/module.h>
-1
drivers/iio/adc/twl6030-gpadc.c
··· 28 28 * 02110-1301 USA 29 29 * 30 30 */ 31 - #include <linux/init.h> 32 31 #include <linux/interrupt.h> 33 32 #include <linux/kernel.h> 34 33 #include <linux/module.h>
-1
drivers/iio/dac/max517.c
··· 19 19 */ 20 20 21 21 #include <linux/module.h> 22 - #include <linux/init.h> 23 22 #include <linux/slab.h> 24 23 #include <linux/jiffies.h> 25 24 #include <linux/i2c.h>
-1
drivers/iio/dac/mcp4725.c
··· 15 15 */ 16 16 17 17 #include <linux/module.h> 18 - #include <linux/init.h> 19 18 #include <linux/i2c.h> 20 19 #include <linux/err.h> 21 20 #include <linux/delay.h>
-1
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
··· 12 12 */ 13 13 14 14 #include <linux/module.h> 15 - #include <linux/init.h> 16 15 #include <linux/slab.h> 17 16 #include <linux/i2c.h> 18 17 #include <linux/err.h>
-1
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c
··· 12 12 */ 13 13 14 14 #include <linux/module.h> 15 - #include <linux/init.h> 16 15 #include <linux/slab.h> 17 16 #include <linux/i2c.h> 18 17 #include <linux/err.h>
-1
drivers/iio/light/adjd_s311.c
··· 14 14 */ 15 15 16 16 #include <linux/module.h> 17 - #include <linux/init.h> 18 17 #include <linux/interrupt.h> 19 18 #include <linux/i2c.h> 20 19 #include <linux/slab.h>