2024-05-27 21:01:09

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH] phy: starfive: remove unused struct 'regval'

From: "Dr. David Alan Gilbert" <[email protected]>

'regval' is unused since the original
commit f8aa660841bc ("phy: starfive: Add mipi dphy rx support").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
drivers/phy/starfive/phy-jh7110-dphy-rx.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/phy/starfive/phy-jh7110-dphy-rx.c b/drivers/phy/starfive/phy-jh7110-dphy-rx.c
index 037a9e0263cd..0b039e1f71c5 100644
--- a/drivers/phy/starfive/phy-jh7110-dphy-rx.c
+++ b/drivers/phy/starfive/phy-jh7110-dphy-rx.c
@@ -46,11 +46,6 @@

#define STF_MAP_LANES_NUM 6

-struct regval {
- u32 addr;
- u32 val;
-};
-
struct stf_dphy_info {
/**
* @maps:
--
2.45.1



2024-05-28 01:33:15

by Changhuang Liang

[permalink] [raw]
Subject: 回复: [PATCH] phy: starfive: remove unused st ruct 'regval'



> From: "Dr. David Alan Gilbert" <[email protected]>
>
> 'regval' is unused since the original
> commit f8aa660841bc ("phy: starfive: Add mipi dphy rx support").
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <[email protected]>

Reviewed-by: Changhuang Liang <[email protected]>

> ---
> drivers/phy/starfive/phy-jh7110-dphy-rx.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/phy/starfive/phy-jh7110-dphy-rx.c
> b/drivers/phy/starfive/phy-jh7110-dphy-rx.c
> index 037a9e0263cd..0b039e1f71c5 100644
> --- a/drivers/phy/starfive/phy-jh7110-dphy-rx.c
> +++ b/drivers/phy/starfive/phy-jh7110-dphy-rx.c
> @@ -46,11 +46,6 @@
>
> #define STF_MAP_LANES_NUM 6
>
> -struct regval {
> - u32 addr;
> - u32 val;
> -};
> -
> struct stf_dphy_info {
> /**
> * @maps:
> --
> 2.45.1

2024-06-03 14:29:08

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] phy: starfive: remove unused struct 'regval'


On Mon, 27 May 2024 21:59:37 +0100, [email protected] wrote:
> 'regval' is unused since the original
> commit f8aa660841bc ("phy: starfive: Add mipi dphy rx support").
>
> Remove it.
>
>

Applied, thanks!

[1/1] phy: starfive: remove unused struct 'regval'
commit: 9d3799c3e807ab5777cda6ae48ebc127b83bc8b0

Best regards,
--
Vinod Koul <[email protected]>