diff mbox series

[-next] phy: qcom: phy-qcom-m31: change m31_ipq5332_regs to static

Message ID 20230824092356.1154839-1-yangyingliang@huawei.com (mailing list archive)
State Not Applicable
Headers show
Series [-next] phy: qcom: phy-qcom-m31: change m31_ipq5332_regs to static | expand

Commit Message

Yang Yingliang Aug. 24, 2023, 9:23 a.m. UTC
m31_ipq5332_regs is only used in phy-qcom-m31.c now, change
it to static.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 drivers/phy/qualcomm/phy-qcom-m31.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Varadarajan Narayanan Aug. 24, 2023, 11:33 a.m. UTC | #1
On Thu, Aug 24, 2023 at 05:23:56PM +0800, Yang Yingliang wrote:
> m31_ipq5332_regs is only used in phy-qcom-m31.c now, change
> it to static.
>
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---
>  drivers/phy/qualcomm/phy-qcom-m31.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/phy/qualcomm/phy-qcom-m31.c b/drivers/phy/qualcomm/phy-qcom-m31.c
> index 99d570f4142a..014278e5428c 100644
> --- a/drivers/phy/qualcomm/phy-qcom-m31.c
> +++ b/drivers/phy/qualcomm/phy-qcom-m31.c
> @@ -82,7 +82,7 @@ struct m31_priv_data {
>  	unsigned int			nregs;
>  };
>
> -struct m31_phy_regs m31_ipq5332_regs[] = {
> +static struct m31_phy_regs m31_ipq5332_regs[] = {
>  	{
>  		USB_PHY_CFG0,
>  		UTMI_PHY_OVERRIDE_EN,

Reviewed-by: Varadarajan Narayanan <quic_varada@quicinc.com>

Thanks
Varada

> --
> 2.25.1
>
Vinod Koul Sept. 21, 2023, 2:26 p.m. UTC | #2
On Thu, 24 Aug 2023 17:23:56 +0800, Yang Yingliang wrote:
> m31_ipq5332_regs is only used in phy-qcom-m31.c now, change
> it to static.
> 
> 

Applied, thanks!

[1/1] phy: qcom: phy-qcom-m31: change m31_ipq5332_regs to static
      commit: 426e05ce126e8febc21fae643139a1072d2670ad

Best regards,
diff mbox series

Patch

diff --git a/drivers/phy/qualcomm/phy-qcom-m31.c b/drivers/phy/qualcomm/phy-qcom-m31.c
index 99d570f4142a..014278e5428c 100644
--- a/drivers/phy/qualcomm/phy-qcom-m31.c
+++ b/drivers/phy/qualcomm/phy-qcom-m31.c
@@ -82,7 +82,7 @@  struct m31_priv_data {
 	unsigned int			nregs;
 };
 
-struct m31_phy_regs m31_ipq5332_regs[] = {
+static struct m31_phy_regs m31_ipq5332_regs[] = {
 	{
 		USB_PHY_CFG0,
 		UTMI_PHY_OVERRIDE_EN,