summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ov2640.c
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 13:48:55 +0200
commit88b18dba5c9ec84e17c22cdd26e2dbfd75817de2 (patch)
treec0b555824673737ea754e039cd7b89ca72ae3b26 /drivers/media/i2c/ov2640.c
parentmedia: tc358746: add Toshiba TC358746 Parallel to CSI-2 bridge driver (diff)
downloadlinux-88b18dba5c9ec84e17c22cdd26e2dbfd75817de2.tar.xz
linux-88b18dba5c9ec84e17c22cdd26e2dbfd75817de2.zip
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>
Diffstat (limited to 'drivers/media/i2c/ov2640.c')
-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>