ASoC: codecs: Replace of_gpio.h by proper one
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Jun 2024 21:27:27 +0000 (00:27 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 11:48:39 +0000 (12:48 +0100)
of_gpio.h is deprecated and subject to remove.
The driver doesn't use it directly, replace it
with what is really being used.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240605221446.2624964-5-andriy.shevchenko@linux.intel.com
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/aw88395/aw88395.c
sound/soc/codecs/aw88399.c

index 3c459a67ad0c981d8e3d4252efaf9ddefec9e9b0..be6ebcb51cca4313b3490901f95341e2195eb0ee 100644 (file)
@@ -8,9 +8,9 @@
 // Author: Weidong Wang <wangweidong.a@awinic.com>
 //
 
+#include <linux/gpio/consumer.h>
 #include <linux/i2c.h>
 #include <linux/firmware.h>
-#include <linux/of_gpio.h>
 #include <linux/regmap.h>
 #include <sound/soc.h>
 #include "aw88395.h"
index df6d52a1cfef8a0207c252e0dac536498fffde7b..5d8481612eab4604a1dada3fe3a04d8b3abc47d3 100644 (file)
@@ -8,9 +8,9 @@
 //
 
 #include <linux/crc32.h>
+#include <linux/gpio/consumer.h>
 #include <linux/i2c.h>
 #include <linux/firmware.h>
-#include <linux/of_gpio.h> 
 #include <linux/regmap.h>
 #include <sound/soc.h>
 #include "aw88399.h"