]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: atmel - Use unregister_{aeads,ahashes,skciphers}
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 26 Jan 2026 17:47:03 +0000 (18:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Feb 2026 10:52:22 +0000 (18:52 +0800)
commit2ffc1ef4e826f0c3274f9ff5eb42bc70a5571afd
tree879aa6015d3f2c7ee53f7dc71ec6c3939974fff8
parent3cd3059af122faa3cc58dddacbc86d46e654c757
crypto: atmel - Use unregister_{aeads,ahashes,skciphers}

Replace multiple for loops with calls to crypto_unregister_aeads(),
crypto_unregister_ahashes(), and crypto_unregister_skciphers().

Remove the definition of atmel_tdes_unregister_algs() because it is
equivalent to calling crypto_unregister_skciphers() directly, and the
function parameter 'struct atmel_tdes_dev *' is unused anyway.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c
drivers/crypto/atmel-sha.c
drivers/crypto/atmel-tdes.c