clk: bcm: rpi: Add clock id to data
authorMaxime Ripard <maxime@cerno.tech>
Fri, 7 Feb 2020 15:04:16 +0000 (16:04 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:33 +0000 (16:33 +0100)
commit066741e620584ae8fd1ed7a3b934928ad2662328
tree487055643c1a796eb1e922238f5332d165e2b434
parent1d57794faa0f23c6bd9d6b53973ba874c8ec4b92
clk: bcm: rpi: Add clock id to data

The driver has really only supported one clock so far and has hardcoded the
ID used in communications with the firmware in all the functions
implementing the clock framework hooks. Let's store that in the clock data
structure so that we can support more clocks later on.

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