diff mbox series

[6/7] iio: pressure: cros_ec_baro: Drop unused IIO headers.

Message ID 20211003121711.279736-7-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series cros_ec_sensors: Drop unused IIO header includes | expand

Commit Message

Jonathan Cameron Oct. 3, 2021, 12:17 p.m. UTC
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 mbox series


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>