diff options
author | Linus Walleij <[email protected]> | 2023-12-01 14:20:37 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-12-01 16:59:23 +0000 |
commit | 0ec65e8e2219a91987cbb041387d94d40cab38b2 (patch) | |
tree | 6974d04c2212bc0a3e4bd39bc4d97e3764762f98 | |
parent | b191a524b225a3acd7528c3fa8ebeb15302c979b (diff) |
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-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> |