crypto: aspeed - Remove prepare/unprepare request
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 13 Aug 2023 06:54:13 +0000 (14:54 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Aug 2023 09:01:09 +0000 (17:01 +0800)
commit13bba5b505695eec89fde5bd68a12b83f71adc33
tree66b9c84851f2407283f4b9616a7553e2750020d9
parentdb9f49e802d9f439cceaaf66ede841b32346e10e
crypto: aspeed - Remove prepare/unprepare request

The callbacks for prepare and unprepare request in crypto_engine
is superfluous.  They can be done directly from do_one_request.

Move the code into do_one_request and remove the unused callbacks.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/aspeed/aspeed-acry.c
drivers/crypto/aspeed/aspeed-hace-crypto.c
drivers/crypto/aspeed/aspeed-hace-hash.c