diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-03-14 16:12:35 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-05-06 12:58:10 +0200 |
commit | d2d14a77886485310ec66e575f00ea5232ac7a14 (patch) | |
tree | 1bde5a546fc78058703552c28cdefd0061130d01 /drivers/clk/clkdev.c | |
parent | clkdev: use clk_hw internally (diff) | |
download | linux-d2d14a77886485310ec66e575f00ea5232ac7a14.tar.xz linux-d2d14a77886485310ec66e575f00ea5232ac7a14.zip |
clk: update clk API documentation to clarify clk_round_rate()
The idea is that rate = clk_round_rate(clk, r) is equivalent to:
clk_set_rate(clk, r);
rate = clk_get_rate(clk);
except that clk_round_rate() does not change the hardware in any way.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/clk/clkdev.c')
0 files changed, 0 insertions, 0 deletions