diff options
author | Geert Uytterhoeven | 2020-02-11 19:19:02 +0100 |
---|---|---|
committer | Herbert Xu | 2020-02-22 09:25:43 +0800 |
commit | 2f272ef37c29425a6526fec976cf200dda950ee1 (patch) | |
tree | 3777f5d7b8116f3f1189d054aea7080ad00cdf27 /crypto/crypto_engine.c | |
parent | fc3b8c11aab728a536b6bb89d6760df9c8694d23 (diff) |
crypto: ccree - clean up clock handling
Use devm_clk_get_optional() instead of devm_clk_get() and explicit
optional clock handling.
As clk_prepare_enable() and clk_disable_unprepare() handle optional
clocks fine, the cc_clk_on() and cc_clk_off() wrappers can be removed.
While at it, use the new "%pe" format specifier to print error codes.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_engine.c')
0 files changed, 0 insertions, 0 deletions