clk: sunxi-ng: Remove the use of rational computations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 29 Sep 2016 20:53:12 +0000 (22:53 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 25 Oct 2016 10:39:25 +0000 (12:39 +0200)
commitee28648cb2b4d4ab5c2eb8199ea86675fe19016b
tree12dc3739b8f2268d87d3fcc909663c61932a5447
parenta501a14e38cc4d8e9c91bb508cdca7032d53f717
clk: sunxi-ng: Remove the use of rational computations

While the rational library works great, it doesn't really allow us to add
more constraints, like the minimum.

Remove that in order to be able to deal with the constraints we'll need.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/Kconfig
drivers/clk/sunxi-ng/ccu_nkm.c
drivers/clk/sunxi-ng/ccu_nkmp.c
drivers/clk/sunxi-ng/ccu_nm.c