diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-04-15 14:24:27 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-04-17 17:16:22 +0200 |
commit | ac2caae61e566dc0a45ac264f5484e619366ce42 (patch) | |
tree | acfbdfcdb6d2d69cea7dedd3db47b30917f771fa /drivers/gpu/drm/tegra/sor.c | |
parent | 693774995595b40ae74264216f933224021f4577 (diff) | |
download | lwn-ac2caae61e566dc0a45ac264f5484e619366ce42.tar.gz lwn-ac2caae61e566dc0a45ac264f5484e619366ce42.zip |
drm/tegra: Clean up GPIO includes
The Tegra DRM drivers includes the legacy GPIO headers
<linux/gpio.h> and <linux/of_gpio.h> but what it really
uses is <linux/gpio/consumer.h> since only gpio_desc
structs are ever referenced.
Include the right header on the top level tegra/drm.h
file and drop all the surplus includes.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200415122427.111769-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/tegra/sor.c')
-rw-r--r-- | drivers/gpu/drm/tegra/sor.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 8495ea921b3c..7cbcf9617f5e 100644 --- a/drivers/gpu/drm/tegra/sor.c +++ b/drivers/gpu/drm/tegra/sor.c @@ -6,7 +6,6 @@ #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/debugfs.h> -#include <linux/gpio.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of_device.h> |