]> git.itanic.dy.fi Git - linux-stable/commitdiff
ASoC: mt8186-mt6366-rt1019-rt5682s: Drop unused include
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 6 Oct 2023 13:46:30 +0000 (15:46 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2023 13:27:49 +0000 (14:27 +0100)
This driver includes the legacy GPIO header <linux/gpio.h> but
is not using any symbols from it. AFE has a custom GPIO
implementation that is not using the kernel GPIO framework,
so it need not include it either.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20231006-descriptors-asoc-mediatek-v1-7-07fe79f337f5@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8186/mt8186-afe-gpio.c
sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c

index f12e91cc4fcf5d065ff388678366e7fdf7a4aa82..9e86e70797180a189fec25d0ded4351e0bb18d1d 100644 (file)
@@ -5,7 +5,6 @@
 // Copyright (c) 2022 MediaTek Inc.
 // Author: Jiaxin Yu <jiaxin.yu@mediatek.com>
 
-#include <linux/gpio.h>
 #include <linux/pinctrl/consumer.h>
 
 #include "mt8186-afe-common.h"
index 6be33892be0a7699dce800ad77d333454baf8951..dc34ab92c3db46943fa0bc3b226c59495a9b4cbc 100644 (file)
@@ -7,7 +7,6 @@
 // Author: Jiaxin Yu <jiaxin.yu@mediatek.com>
 //
 
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/input.h>
 #include <linux/module.h>