summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-10-24 13:12:21 +0200
committerSakari Ailus <sakari.ailus@linux.intel.com>2022-10-27 14:48:55 +0300
commit88b18dba5c9ec84e17c22cdd26e2dbfd75817de2 (patch)
treec0b555824673737ea754e039cd7b89ca72ae3b26
parent80a21da360516fa602f3a50eb9792f9dfbfb5fdb (diff)
media: ov2640: Drop legacy includes
The driver was including legacy headers despite using just <linux/gpio/consumer.h>. Drop the surplus includes. Cc: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
-rw-r--r--drivers/media/i2c/ov2640.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/i2c/ov2640.c b/drivers/media/i2c/ov2640.c
index 29ed0ef8c033..39d56838a4ef 100644
--- a/drivers/media/i2c/ov2640.c
+++ b/drivers/media/i2c/ov2640.c
@@ -16,9 +16,7 @@
#include <linux/clk.h>
#include <linux/slab.h>
#include <linux/delay.h>
-#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
-#include <linux/of_gpio.h>
#include <linux/v4l2-mediabus.h>
#include <linux/videodev2.h>