diff options
author | Javi Merino <javi.merino@arm.com> | 2015-04-16 12:43:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:03:55 -0400 |
commit | aa7762010a4340a12a87a54b7a402adcdce8cfa9 (patch) | |
tree | a2126011ab39b8af6cd755be7285d6668f675536 /drivers/clk/bcm/clk-kona.h | |
parent | f766093ecb647f5a87bfa456715abbbccee547ce (diff) | |
download | linux-aa7762010a4340a12a87a54b7a402adcdce8cfa9.tar.gz linux-aa7762010a4340a12a87a54b7a402adcdce8cfa9.tar.bz2 linux-aa7762010a4340a12a87a54b7a402adcdce8cfa9.zip |
clk: bcm/kona: use DIV_ROUND_CLOSEST_ULL()
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.
Signed-off-by: Javi Merino <javi.merino@arm.com>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Alex Elder <elder@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/clk/bcm/clk-kona.h')
-rw-r--r-- | drivers/clk/bcm/clk-kona.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/bcm/clk-kona.h b/drivers/clk/bcm/clk-kona.h index 2537b3072910..6849a64baf6d 100644 --- a/drivers/clk/bcm/clk-kona.h +++ b/drivers/clk/bcm/clk-kona.h @@ -503,7 +503,6 @@ extern struct clk_ops kona_peri_clk_ops; /* Externally visible functions */ -extern u64 do_div_round_closest(u64 dividend, unsigned long divisor); extern u64 scaled_div_max(struct bcm_clk_div *div); extern u64 scaled_div_build(struct bcm_clk_div *div, u32 div_value, u32 billionths); |