[PATCH 01/14] ASoC: rt1011: Drop GPIO includes
From: Linus Walleij
Date: Sat Aug 12 2023 - 15:57:02 EST
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@xxxxxxxxxx>
---
sound/soc/codecs/rt1011.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/codecs/rt1011.c b/sound/soc/codecs/rt1011.c
index 42bac8150f62..d5285baad53a 100644
--- a/sound/soc/codecs/rt1011.c
+++ b/sound/soc/codecs/rt1011.c
@@ -13,11 +13,9 @@
#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>
--
2.34.1