OSDN Git Service

ASoC: rt1011: Drop GPIO includes
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Aug 2023 19:56:39 +0000 (21:56 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 13 Aug 2023 18:37:49 +0000 (19:37 +0100)
This driver include two GPIO legacy headers yet doesn't use
symbols from any of them. Drop the includes.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org
Link: https://lore.kernel.org/r/20230812-descriptors-asoc-v1-1-eb4dca1f68af@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/codecs/rt1011.c

index 42bac81..d5285ba 100644 (file)
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/pm.h>
-#include <linux/gpio.h>
 #include <linux/i2c.h>
 #include <linux/acpi.h>
 #include <linux/regmap.h>
-#include <linux/of_gpio.h>
 #include <linux/platform_device.h>
 #include <linux/firmware.h>
 #include <sound/core.h>