diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-12-01 14:20:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-12-01 16:59:23 +0000 |
commit | 0ec65e8e2219a91987cbb041387d94d40cab38b2 (patch) | |
tree | 6974d04c2212bc0a3e4bd39bc4d97e3764762f98 /sound/soc/codecs | |
parent | b191a524b225a3acd7528c3fa8ebeb15302c979b (diff) | |
download | linux-stable-0ec65e8e2219a91987cbb041387d94d40cab38b2.tar.gz linux-stable-0ec65e8e2219a91987cbb041387d94d40cab38b2.tar.bz2 linux-stable-0ec65e8e2219a91987cbb041387d94d40cab38b2.zip |
ASoC: cs42l42: Drop legacy include
This driver includes the legacy GPIO API <linux/gpio.h> but
does not use any symbols from it.
Drop the include.
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231201-descriptors-sound-cirrus-v2-8-ee9f9d4655eb@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/cs42l42.c | 1 | ||||
-rw-r--r-- | sound/soc/codecs/cs42l42.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c index 94bcab812629..2d11c5125f73 100644 --- a/sound/soc/codecs/cs42l42.c +++ b/sound/soc/codecs/cs42l42.c @@ -15,7 +15,6 @@ #include <linux/types.h> #include <linux/init.h> #include <linux/delay.h> -#include <linux/gpio.h> #include <linux/regmap.h> #include <linux/slab.h> #include <linux/acpi.h> diff --git a/sound/soc/codecs/cs42l42.h b/sound/soc/codecs/cs42l42.h index 7785125b73ab..3d85ebc59489 100644 --- a/sound/soc/codecs/cs42l42.h +++ b/sound/soc/codecs/cs42l42.h @@ -14,7 +14,7 @@ #include <dt-bindings/sound/cs42l42.h> #include <linux/device.h> -#include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <linux/mutex.h> #include <linux/regmap.h> #include <linux/regulator/consumer.h> |