All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org, Benson Leung <bleung@chromium.org>,
	Enric Balletbo i Serra <enric.balletbo@collabora.com>,
	Guenter Roeck <groeck@chromium.org>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: [PATCH 6/7] iio: pressure: cros_ec_baro: Drop unused IIO headers.
Date: Sun,  3 Oct 2021 13:17:10 +0100	[thread overview]
Message-ID: <20211003121711.279736-7-jic23@kernel.org> (raw)
In-Reply-To: <20211003121711.279736-1-jic23@kernel.org>

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

Identified with the include-what-you-use tool.
To keep this patch simple, only IIO headers that are clearly not used
were considered.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/pressure/cros_ec_baro.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/iio/pressure/cros_ec_baro.c b/drivers/iio/pressure/cros_ec_baro.c
index 2f882e109423..fd2c0fa815bd 100644
--- a/drivers/iio/pressure/cros_ec_baro.c
+++ b/drivers/iio/pressure/cros_ec_baro.c
@@ -6,13 +6,8 @@
  */
 
 #include <linux/device.h>
-#include <linux/iio/buffer.h>
 #include <linux/iio/common/cros_ec_sensors_core.h>
 #include <linux/iio/iio.h>
-#include <linux/iio/kfifo_buf.h>
-#include <linux/iio/trigger.h>
-#include <linux/iio/triggered_buffer.h>
-#include <linux/iio/trigger_consumer.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/slab.h>
-- 
2.33.0


  parent reply	other threads:[~2021-10-03 12:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-03 12:17 [PATCH 0/7] cros_ec_sensors: Drop unused IIO header includes Jonathan Cameron
2021-10-03 12:17 ` [PATCH 1/7] platform/chrome: cros_ec_sensorhub_ring - avoid including iio.h Jonathan Cameron
2021-10-03 12:17 ` [PATCH 2/7] iio: cros_ec_sensors: Remove excessive IIO includes Jonathan Cameron
2021-10-03 12:17 ` [PATCH 3/7] iio: accel: cros_ec_accel_legacy: Drop unused " Jonathan Cameron
2021-10-03 15:12   ` Jonathan Cameron
2021-10-03 12:17 ` [PATCH 4/7] iio: cros_ec_lid_angle: " Jonathan Cameron
2021-10-03 12:17 ` [PATCH 5/7] iio: light: cros_ec_light_prox: " Jonathan Cameron
2021-10-03 12:17 ` Jonathan Cameron [this message]
2021-10-03 12:17 ` [PATCH 7/7] iio: prox: cros_ec_mkbp: Drop unused IIO headers Jonathan Cameron
2022-02-18 12:47 ` [PATCH 0/7] cros_ec_sensors: Drop unused IIO header includes Jonathan Cameron

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=20211003121711.279736-7-jic23@kernel.org \
    --to=jic23@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=bleung@chromium.org \
    --cc=enric.balletbo@collabora.com \
    --cc=groeck@chromium.org \
    --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.