crypto: rockchip - use a rk_crypto_info variable instead of lot of indirection
authorCorentin Labbe <clabbe@baylibre.com>
Tue, 27 Sep 2022 07:55:00 +0000 (07:55 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Oct 2022 04:36:33 +0000 (12:36 +0800)
commitc018c7a9dd198ce965ca4d10c7b083849bc533be
tree66639f94f478be2bccb5c99d6cd39a9d935cef4c
parent2e3b149578c30275db9c3501c1d9dec36d16622a
crypto: rockchip - use a rk_crypto_info variable instead of lot of indirection

Instead of using lot of ctx->dev->xx indirections, use an intermediate
variable for rk_crypto_info.
This will help later, when 2 different rk_crypto_info would be used.

Reviewed-by: John Keeping <john@metanate.com>
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/rockchip/rk3288_crypto_ahash.c
drivers/crypto/rockchip/rk3288_crypto_skcipher.c