summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorPaul Gortmaker2014-09-01 16:15:00 +0200
committerJonathan Cameron2014-01-11 12:59:00 +0100
commit36eb8cc2cedadee888deb9a657a10be159f2dc0b (patch)
tree110e4927b5ea7a5f6236b68f475c28c08c9c079f /drivers/iio/dac
parentiio: Remove obsolete variable in tcs3472 driver (diff)
downloadkernel-qcow2-linux-36eb8cc2cedadee888deb9a657a10be159f2dc0b.tar.gz
kernel-qcow2-linux-36eb8cc2cedadee888deb9a657a10be159f2dc0b.tar.xz
kernel-qcow2-linux-36eb8cc2cedadee888deb9a657a10be159f2dc0b.zip
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>
Diffstat (limited to 'drivers/iio/dac')
-rw-r--r--drivers/iio/dac/max517.c1
-rw-r--r--drivers/iio/dac/mcp4725.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/dac/max517.c b/drivers/iio/dac/max517.c
index de76e6a34c1e..9a82a7255ebb 100644
--- a/drivers/iio/dac/max517.c
+++ b/drivers/iio/dac/max517.c
@@ -19,7 +19,6 @@
*/
#include <linux/module.h>
-#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c
index 7d9f5c31d2fc..43d14588448d 100644
--- a/drivers/iio/dac/mcp4725.c
+++ b/drivers/iio/dac/mcp4725.c
@@ -15,7 +15,6 @@
*/
#include <linux/module.h>
-#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/err.h>
#include <linux/delay.h>