clk: bcm2835: remove use of BCM2835_CLOCK_COUNT in driver
authorMartin Sperl <kernel@martin.sperl.org>
Mon, 29 Feb 2016 12:51:41 +0000 (12:51 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 17 Mar 2016 17:42:17 +0000 (10:42 -0700)
commit56eb3a2ed9726961e1bcfa69d4a3f86d68f0eb52
treebc2f1c6d29d6662bef294d385ec1a4edee534e15
parent96bf9c69d5729781018a00f08e2ae395ec3346b4
clk: bcm2835: remove use of BCM2835_CLOCK_COUNT in driver

As the use of BCM2835_CLOCK_COUNT in
include/dt-bindings/clock/bcm2835.h is frowned upon as
it needs to get modified every time a new clock gets introduced
this patch changes the clk-bcm2835 driver to use a different
scheme for registration of clocks and pll, so that there
is no more need for BCM2835_CLOCK_COUNT to be defined.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/clk/bcm/clk-bcm2835.c
include/dt-bindings/clock/bcm2835.h
This page took 0.024547 seconds and 5 git commands to generate.