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

Nicolas Frattaroli nicolas.frattaroli at collabora.com
Fri Jul 4 06:18:32 PDT 2025


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 at 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 at collabora.com>

Thanks!

Kind regards,
Nicolas Frattaroli






More information about the linux-arm-kernel mailing list