commit | 91fc6c7b3328c6f72a37e7bc319eb8419f109be3 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Tue Feb 11 19:19:28 2020 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Feb 22 09:25:46 2020 +0800 |
tree | 9a26aeb4578e517055cac7d95c54c7b5c5851eab | |
parent | f7c8f992013da1afad6a353b7c73ea35c014d507 [diff] |
crypto: ccree - use devm_kzalloc() for hash data As the lifetime of the hash data matches the lifetime of the driver, hash data can be allocated using the managed allocators. While at it, simplify cc_hash_free() by removing an unneeded check (hash_handle is always valid here). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>