Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/mediatek: Drop of_gpio header

These drivers include the deprecated OF GPIO header <linux/of_gpio.h>
yet fail to use symbols from it, so drop the include.

Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-mediatek@lists.infradead.org
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220812205746.609107-3-mairacanal@riseup.net/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>

authored by

Maíra Canal and committed by
Chun-Kuang Hu
fd0fcdf3 568035b0

-2
-1
drivers/gpu/drm/mediatek/mtk_dpi.c
··· 11 11 #include <linux/media-bus-format.h> 12 12 #include <linux/of.h> 13 13 #include <linux/of_device.h> 14 - #include <linux/of_gpio.h> 15 14 #include <linux/of_graph.h> 16 15 #include <linux/pinctrl/consumer.h> 17 16 #include <linux/platform_device.h>
-1
drivers/gpu/drm/mediatek/mtk_hdmi.c
··· 16 16 #include <linux/mutex.h> 17 17 #include <linux/of_platform.h> 18 18 #include <linux/of.h> 19 - #include <linux/of_gpio.h> 20 19 #include <linux/of_graph.h> 21 20 #include <linux/phy/phy.h> 22 21 #include <linux/platform_device.h>