summaryrefslogtreecommitdiff
path: root/lib/test_module.c
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-08-15 21:37:42 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2022-08-26 18:49:10 +0800
commit6a2bc448423cea44e7dba0f72d7c82ae04ab201e (patch)
treeb41a7cc424fffae1556270d51e29cca70c765cad /lib/test_module.c
parent6363d81b78c00d98f6d92b04acf65b4a18013690 (diff)
hwrng: imx-rngc - use devm_clk_get_enabled
Use the new devm_clk_get_enabled function to get our clock. We don't have to disable and unprepare the clock ourselves any more in error paths and in the remove function. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/test_module.c')
0 files changed, 0 insertions, 0 deletions