sh: clkfwk: add clk_rate_mult_range_round()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 20 Sep 2011 01:51:13 +0000 (18:51 -0700)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 4 Nov 2011 15:49:27 +0000 (00:49 +0900)
commitdd2c0ca1b153b555c09fd8e08f6842e12cf8e87b
tree1c7490f128aa6153d8d42f9bb735cd4bd3aa16f2
parent1a67a573b8d9f02211f36fbab50f6265dc49384a
sh: clkfwk: add clk_rate_mult_range_round()

This provides a clk_rate_mult_range_round() helper for use by some of the
CPG PLL ranged multipliers, following the same approach as used by the
div ranges.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/clk/core.c
include/linux/sh_clk.h