]> git.itanic.dy.fi Git - linux-stable/commitdiff
ASoC: cs35l36: Drop legacy includes
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 1 Dec 2023 13:20:34 +0000 (14:20 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 1 Dec 2023 16:59:20 +0000 (16:59 +0000)
This driver includes the legacy GPIO APIs <linux/gpio.h> and
<linux/of_gpio.h> but does not use any symbols from any of
them.

Drop the includes.

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-5-ee9f9d4655eb@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l36.c

index f2fde6e652b935100c5ce9d1cbfea2942e374efe..f5bd32e434a0bb2f4d9483caa424cf5acc4015b1 100644 (file)
 #include <linux/platform_device.h>
 #include <linux/regulator/consumer.h>
 #include <linux/gpio/consumer.h>
+#include <linux/irq.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/regmap.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
 #include <sound/soc-dapm.h>
-#include <linux/gpio.h>
 #include <sound/initval.h>
 #include <sound/tlv.h>
 #include <sound/cs35l36.h>