]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccree - use devm_k[mz]alloc() for cipher data
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 11 Feb 2020 18:19:27 +0000 (19:19 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2020 01:25:46 +0000 (09:25 +0800)
commit71a6df55426190337caaadea2f27f734f84159e9
tree8802dee4a3d1ed6ff84cd5962991c5832a2ee10f
parenteef1361925ebb61f9186c9849ff4265c384b011d
crypto: ccree - use devm_k[mz]alloc() for cipher data

As the lifetime of the cipher data matches the lifetime of the driver,
cipher data can be allocated using the managed allocators.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_cipher.c