diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-12 14:00:03 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-16 21:45:54 +1100 |
commit | 6229c16060fee9a015bf476f21e40c6f08609d6e (patch) | |
tree | f622339bdb716ccac71bdd0015879d1900faf663 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4d9b519c9bcab5718053f8717dadad7b09b41f5e (diff) |
hwrng: bcm63xx - make use of devm_hwrng_register
This change converts bcm63xx-rng to use devm* API for managing all
resources, which allows us to dispense with the rest of error handling
path and remove() function. Also we combine hwern and driver-private
data into a single allocation, use clk_prepare_enable() instead
of "naked" clk_enable() and move clock enabling/disabling into hwrnd
inti(0 and cleanup() methods so the clock stays off until rng is
used.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions