crypto: ccree - use devm_kzalloc for device data
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 18 Apr 2019 13:38:51 +0000 (16:38 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:38:14 +0000 (15:38 +0800)
commitdcb2cf1d2c760bcf6390b72a9a74a3e5482ab949
tree3c0152a98961de1f6df41d27e1b5a53af7545f27
parentd574b707c873d6ef1a2a155f8cfcfecd821e9a2e
crypto: ccree - use devm_kzalloc for device data

Move some remaining device data allocation to the safer devm_*
interface.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_fips.c
drivers/crypto/ccree/cc_sram_mgr.c