[PATCH v2 06/13] iio: pressure: mprls0025pa: cleanup includes

Petre Rodan
2026-01-14T10:07:52Z

Remove unused headers and add required headers as needed.

Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
---
v1->v2 split based on Marcelo's request
---
drivers/iio/pressure/mprls0025pa.c | 6 ++++++
drivers/iio/pressure/mprls0025pa.h | 3 ---
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/iio/pressure/mprls0025pa.c b/drivers/iio/pressure/mprls0025pa.c
index 2142df7932e8..b0f70c9b503c 100644
--- a/drivers/iio/pressure/mprls0025pa.c
+++ b/drivers/iio/pressure/mprls0025pa.c
@@ -12,7 +12,12 @@
#include <linux/array_size.h>
#include <linux/bitfield.h>
#include <linux/bits.h>
+#include <linux/completion.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/export.h>
#include <linux/interrupt.h>
+#include <linux/jiffies.h>
#include <linux/math64.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
@@ -22,6 +27,7 @@
#include <linux/gpio/consumer.h>

#include <linux/iio/buffer.h>
+#include <linux/iio/iio.h>
#include <linux/iio/trigger_consumer.h>
#include <linux/iio/triggered_buffer.h>

diff --git a/drivers/iio/pressure/mprls0025pa.h b/drivers/iio/pressure/mprls0025pa.h
index b6944b305126..eab877da3451 100644
--- a/drivers/iio/pressure/mprls0025pa.h
+++ b/drivers/iio/pressure/mprls0025pa.h
@@ -12,10 +12,7 @@
#define _MPRLS0025PA_H

#include <linux/completion.h>
-#include <linux/delay.h>
-#include <linux/device.h>
#include <linux/mutex.h>
-#include <linux/stddef.h>
#include <linux/types.h>

#include <linux/iio/iio.h>

--
2.52.0