clk: bcm: rpi: Use clk_hw_register for pllb_arm
authorMaxime Ripard <maxime@cerno.tech>
Fri, 7 Feb 2020 14:40:00 +0000 (15:40 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:33 +0000 (16:33 +0100)
commitc5901356585ccd777c9a7f5b8e1c9969cf38c741
tree71f403c643df9ea7ad13bec7a8477fd0ba138283
parent1a36a64a641c7f48161c87d048a06538004f7100
clk: bcm: rpi: Use clk_hw_register for pllb_arm

The pllb_arm clock is defined as a fixed factor clock with the pllb clock
as a parent. However, all its configuration is entirely static, and thus we
don't really need to call clk_hw_register_fixed_factor() but can simply call
clk_hw_register() with a static clk_fixed_factor structure.

Cc: Michael Turquette <mturquette@baylibre.com>
Cc: linux-clk@vger.kernel.org
Acked-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/clk/bcm/clk-raspberrypi.c