All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org
Cc: Nuno Sa <Nuno.Sa@analog.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Michael Hennerich <Michael.Hennerich@analog.com>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: [PATCH 5/7] staging:iio:impedance-analyzer: Cleanup includes
Date: Fri, 11 Jun 2021 16:26:12 +0100	[thread overview]
Message-ID: <20210611152614.109361-6-jic23@kernel.org> (raw)
In-Reply-To: <20210611152614.109361-1-jic23@kernel.org>

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Based on consideration of the output of the include-what-you-use
tool.  Drop unused headers and include some that should probably
have always been included.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/staging/iio/impedance-analyzer/ad5933.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c
index 793918e1c45f..33dc8b7eb37a 100644
--- a/drivers/staging/iio/impedance-analyzer/ad5933.c
+++ b/drivers/staging/iio/impedance-analyzer/ad5933.c
@@ -5,17 +5,20 @@
  * Copyright 2011 Analog Devices Inc.
  */
 
+#include <linux/bitmap.h>
 #include <linux/clk.h>
 #include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/err.h>
 #include <linux/i2c.h>
-#include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
+#include <linux/mod_devicetable.h>
+#include <linux/mutex.h>
 #include <linux/regulator/consumer.h>
 #include <linux/sysfs.h>
 #include <linux/types.h>
+#include <linux/workqueue.h>
 
 #include <linux/iio/buffer.h>
 #include <linux/iio/iio.h>
-- 
2.31.1


  parent reply	other threads:[~2021-06-11 15:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11 15:26 [PATCH 0/7] staging:iio: Header cleanup Jonathan Cameron
2021-06-11 15:26 ` [PATCH 1/7] staging:iio:adc: Cleanup includes Jonathan Cameron
2021-06-11 15:26 ` [PATCH 2/7] staging:iio:addac:adt7316: " Jonathan Cameron
2021-06-11 17:40   ` Andy Shevchenko
2021-06-11 15:26 ` [PATCH 3/7] staging:iio:cdc:ad7746: " Jonathan Cameron
2021-06-11 15:26 ` [PATCH 4/7] staging:iio:frequency: " Jonathan Cameron
2021-06-11 15:26 ` Jonathan Cameron [this message]
2021-06-11 15:26 ` [PATCH 6/7] staging:iio:meter:ade7854: " Jonathan Cameron
2021-06-11 15:26 ` [PATCH 7/7] staging:iio:resolver:ad2s1210: " Jonathan Cameron
2021-06-11 16:09   ` Jonathan Cameron
2021-06-11 17:45 ` [PATCH 0/7] staging:iio: Header cleanup Andy Shevchenko
2021-06-11 18:14   ` Jonathan Cameron
2021-06-11 18:36     ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210611152614.109361-6-jic23@kernel.org \
    --to=jic23@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=Nuno.Sa@analog.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.