]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: samsung: Replace of_gpio.h by proper one
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Jun 2024 21:27:29 +0000 (00:27 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 11:48:40 +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-7-andriy.shevchenko@linux.intel.com
Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/aries_wm8994.c

index a548ac33dd94a4c14012b117ef09e5db0f0f732b..01716df0c842037b0fd0503bbbf00cf5b5e520ec 100644 (file)
@@ -1,11 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0+
 #include <linux/extcon.h>
+#include <linux/gpio/consumer.h>
 #include <linux/iio/consumer.h>
 #include <linux/input-event-codes.h>
 #include <linux/mfd/wm8994/registers.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/regulator/consumer.h>
 #include <sound/jack.h>
 #include <sound/pcm_params.h>