diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-03-26 17:14:25 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-31 12:50:09 +0300 |
commit | d6cb9ab4bfeaaa69147948e42d7cff080db82d07 (patch) | |
tree | 9687966d1358074ecbcc42dfe2628b2580199ad0 /lib | |
parent | 75120ef34247b6ca4f1b9e1e6fedd221e2af77d5 (diff) | |
download | linux-d6cb9ab4bfeaaa69147948e42d7cff080db82d07.tar.xz |
crypto: mxs-dcp - Use the devm_clk_get_optional_enabled() helper
Use devm_clk_get_optional_enabled() instead of hand writing it.
This saves some loC and improves the semantic.
update the error handling path and the remove function accordingly.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions