2015-02-13 13:35:50

by Tomeu Vizoso

[permalink] [raw]
Subject: [PATCH] MIPS: Alchemy: Remove bogus args from alchemy_clk_fgcs_detr

They were added to this function by mistake when they were added to the
clk_ops.determine_rate callback.

Fixes: 1c8e600440c7 ("clk: Add rate constraints to clocks")
Signed-off-by: Tomeu Vizoso <[email protected]>
---
arch/mips/alchemy/common/clock.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/mips/alchemy/common/clock.c b/arch/mips/alchemy/common/clock.c
index 4e65404..604b7d0 100644
--- a/arch/mips/alchemy/common/clock.c
+++ b/arch/mips/alchemy/common/clock.c
@@ -373,8 +373,6 @@ static long alchemy_calc_div(unsigned long rate, unsigned long prate,
}

static long alchemy_clk_fgcs_detr(struct clk_hw *hw, unsigned long rate,
- unsigned long min_rate,
- unsigned long max_rate,
unsigned long *best_parent_rate,
struct clk_hw **best_parent_clk,
int scale, int maxdiv)
--
1.9.3


2015-02-13 16:39:14

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] MIPS: Alchemy: Remove bogus args from alchemy_clk_fgcs_detr

On 02/13/15 05:34, Tomeu Vizoso wrote:
> They were added to this function by mistake when they were added to the
> clk_ops.determine_rate callback.
>
> Fixes: 1c8e600440c7 ("clk: Add rate constraints to clocks")
> Signed-off-by: Tomeu Vizoso <[email protected]>

Reported-by: kbuild test robot <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

2015-02-18 17:26:27

by Mike Turquette

[permalink] [raw]
Subject: Re: [PATCH] MIPS: Alchemy: Remove bogus args from alchemy_clk_fgcs_detr

Quoting Stephen Boyd (2015-02-13 08:39:10)
> On 02/13/15 05:34, Tomeu Vizoso wrote:
> > They were added to this function by mistake when they were added to the
> > clk_ops.determine_rate callback.
> >
> > Fixes: 1c8e600440c7 ("clk: Add rate constraints to clocks")
> > Signed-off-by: Tomeu Vizoso <[email protected]>
>
> Reported-by: kbuild test robot <[email protected]>
> Reviewed-by: Stephen Boyd <[email protected]>

Applied to clk-next.

Regards,
Mike

>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> a Linux Foundation Collaborative Project
>