clk: pass parent_rate into .set_rate
authorShawn Guo <shawn.guo@linaro.org>
Thu, 12 Apr 2012 12:50:18 +0000 (20:50 +0800)
committerMike Turquette <mturquette@linaro.org>
Tue, 24 Apr 2012 23:37:40 +0000 (16:37 -0700)
commit1c0035d710dd3bfa86d58f851b8737c7f11a9bbc
tree37ebd1a44c408aecf7df5331d2b5a32e81818baf
parent81536e072b54e30bbfd1a9a6b8094f7b3dd5321c
clk: pass parent_rate into .set_rate

For most of .set_rate implementation, parent_rate will be used, so just
like passing parent_rate into .recalc_rate, let's pass parent_rate into
.set_rate too.

It also updates the kernel doc for .set_rate ops.

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
include/linux/clk-provider.h