[PATCH] drm/tegra: Clean up GPIO includes
Thierry Reding
thierry.reding at gmail.com
Tue Apr 21 22:15:03 UTC 2020
On Wed, Apr 15, 2020 at 02:24:27PM +0200, Linus Walleij wrote:
> 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 at linaro.org>
> ---
> drivers/gpu/drm/tegra/dpaux.c | 2 --
> drivers/gpu/drm/tegra/drm.h | 2 +-
> drivers/gpu/drm/tegra/hdmi.c | 1 -
> drivers/gpu/drm/tegra/sor.c | 1 -
> 4 files changed, 1 insertion(+), 5 deletions(-)
Applied, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200422/cabfff00/attachment-0001.sig>
More information about the dri-devel
mailing list