[PATCH] ASoC: codec: rockchip_sai: Remove including of_gpio.h

Peng Fan posted 1 patch 3 months ago
sound/soc/rockchip/rockchip_sai.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] ASoC: codec: rockchip_sai: Remove including of_gpio.h
Posted by Peng Fan 3 months ago
of_gpio.h is deprecated. And there is no user in this driver
using API in of_gpio.h, so remove it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 sound/soc/rockchip/rockchip_sai.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/rockchip/rockchip_sai.c b/sound/soc/rockchip/rockchip_sai.c
index 0b9f54102d69..6695349ee561 100644
--- a/sound/soc/rockchip/rockchip_sai.c
+++ b/sound/soc/rockchip/rockchip_sai.c
@@ -9,7 +9,6 @@
 #include <linux/module.h>
 #include <linux/mfd/syscon.h>
 #include <linux/delay.h>
-#include <linux/of_gpio.h>
 #include <linux/of_device.h>
 #include <linux/clk.h>
 #include <linux/pm_runtime.h>
-- 
2.37.1
Re: [PATCH] ASoC: codec: rockchip_sai: Remove including of_gpio.h
Posted by Mark Brown 3 months ago
On Fri, 04 Jul 2025 21:09:06 +0800, Peng Fan wrote:
> of_gpio.h is deprecated. And there is no user in this driver
> using API in of_gpio.h, so remove it.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: codec: rockchip_sai: Remove including of_gpio.h
      commit: 571defe0dff3f1e4180bd0db79283d3d5bf74a71

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
Re: [PATCH] ASoC: codec: rockchip_sai: Remove including of_gpio.h
Posted by Nicolas Frattaroli 3 months ago
On Friday, 4 July 2025 15:09:06 Central European Summer Time Peng Fan wrote:
> of_gpio.h is deprecated. And there is no user in this driver
> using API in of_gpio.h, so remove it.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  sound/soc/rockchip/rockchip_sai.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/soc/rockchip/rockchip_sai.c b/sound/soc/rockchip/rockchip_sai.c
> index 0b9f54102d69..6695349ee561 100644
> --- a/sound/soc/rockchip/rockchip_sai.c
> +++ b/sound/soc/rockchip/rockchip_sai.c
> @@ -9,7 +9,6 @@
>  #include <linux/module.h>
>  #include <linux/mfd/syscon.h>
>  #include <linux/delay.h>
> -#include <linux/of_gpio.h>
>  #include <linux/of_device.h>
>  #include <linux/clk.h>
>  #include <linux/pm_runtime.h>
> 

Acked-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>

Thanks!

Kind regards,
Nicolas Frattaroli