diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-02-02 09:07:22 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-02-11 20:05:46 +0100 |
commit | c0872308752df85d817a730d6d5b2d7175c2305b (patch) | |
tree | b3ad3879f1c2340a22acf1afb12031475b2b2929 /crypto/rsa-pkcs1pad.c | |
parent | 5b5226d17df6175f1f0dd1a1a37e36770ed00116 (diff) |
clk: sunxi: convert current clocks registration to CLK_OF_DECLARE
The current clock registration and protection code has a few drawbacks, the
two main ones being that we create a lot of orphans clock in the
registration phase, which will be troublesome when we will start being less
relaxed about them.
The protection code also relies on clkdev, which we don't really use but
for this particular case.
Fix both at the same time by moving everyone to the CLK_OF_DECLARE that
will probe our clock tree in the right and thus avoid orphans, and by
protecting directly the clock returned by our registration function.
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'crypto/rsa-pkcs1pad.c')
0 files changed, 0 insertions, 0 deletions