All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] media: ov7670: Drop unused include
@ 2022-08-30 21:15 Linus Walleij
  0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2022-08-30 21:15 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, linux-media
  Cc: Linus Walleij, Jonathan Corbet, Akinobu Mita

The driver includes the legacy <linux/gpio.h> header but does
not use any symbols from it. Drop the include.

Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ChangeLog v1->v2:
- Rebase on v6.0-rc1
---
 drivers/media/i2c/ov7670.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/i2c/ov7670.c b/drivers/media/i2c/ov7670.c
index 1be2c0e5bdc1..4984ae44f781 100644
--- a/drivers/media/i2c/ov7670.c
+++ b/drivers/media/i2c/ov7670.c
@@ -15,7 +15,6 @@
 #include <linux/i2c.h>
 #include <linux/delay.h>
 #include <linux/videodev2.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <media/v4l2-device.h>
 #include <media/v4l2-event.h>
-- 
2.37.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-30 21:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 21:15 [PATCH v2] media: ov7670: Drop unused include Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.