diff mbox series

[6/9] media: atomisp: gc0310: Cleanup includes

Message ID 20230518153214.194976-7-hdegoede@redhat.com
State New
Headers show
Series media: v4l: Add v4l2_acpi_parse_sensor_gpios() helper + gc0310 sensor driver | expand

Commit Message

Hans de Goede May 18, 2023, 3:32 p.m. UTC
Remove a bunch of unused includes and sort the remainging
includes alphabetically.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 .../media/atomisp/i2c/atomisp-gc0310.c        | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)
diff mbox series

Patch

diff --git a/drivers/staging/media/atomisp/i2c/atomisp-gc0310.c b/drivers/staging/media/atomisp/i2c/atomisp-gc0310.c
index 89f8c6cac581..35367d6efd2c 100644
--- a/drivers/staging/media/atomisp/i2c/atomisp-gc0310.c
+++ b/drivers/staging/media/atomisp/i2c/atomisp-gc0310.c
@@ -16,25 +16,18 @@ 
  *
  */
 
-#include <linux/module.h>
-#include <linux/types.h>
-#include <linux/kernel.h>
-#include <linux/mm.h>
-#include <linux/string.h>
-#include <linux/errno.h>
-#include <linux/init.h>
-#include <linux/kmod.h>
-#include <linux/device.h>
 #include <linux/delay.h>
-#include <linux/slab.h>
+#include <linux/errno.h>
 #include <linux/gpio/consumer.h>
-#include <linux/gpio/machine.h>
 #include <linux/i2c.h>
-#include <linux/moduleparam.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/pm_runtime.h>
+#include <linux/string.h>
+#include <linux/types.h>
+
 #include <media/v4l2-acpi.h>
 #include <media/v4l2-device.h>
-#include <linux/io.h>
 
 #include "gc0310.h"