From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Identified with the include-what-you-use tool. To keep this patch simple, only remove IIO related headers that are clearly unused in this driver. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> --- drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c b/drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c index af801e203623..eb402772b663 100644 --- a/drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c +++ b/drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c @@ -12,13 +12,9 @@ #include <linux/delay.h> #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/platform_data/cros_ec_commands.h> -- 2.33.0