clk: always pass parent_rate into .round_rate
authorShawn Guo <shawn.guo@linaro.org>
Thu, 12 Apr 2012 12:50:17 +0000 (20:50 +0800)
committerMike Turquette <mturquette@linaro.org>
Tue, 24 Apr 2012 23:37:39 +0000 (16:37 -0700)
commit81536e072b54e30bbfd1a9a6b8094f7b3dd5321c
tree6c1f0df5e626ecf7c30368033478cdaf48b1b872
parent27d545915fd49cbe18a3877d82359896e9851efb
clk: always pass parent_rate into .round_rate

The parent_rate will likely be used by most .round_rate implementation
no matter whether flag CLK_SET_RATE_PARENT is set or not, so let's
always pass parent_rate into .round_rate.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-divider.c
drivers/clk/clk.c