Re: [PATCH 1/5] crypto: mediatek: move mtk_aes_find_dev() to the right place

From: Herbert Xu
Date: Thu Sep 05 2019 - 00:52:33 EST


On Wed, Aug 28, 2019 at 02:37:12PM +0800, Vic Wu wrote:
> From: Ryder Lee <ryder.lee@xxxxxxxxxxxx>
>
> Move mtk_aes_find_dev() to right functions as nobody uses the
> 'cryp' under current flows.
>
> We can also avoid duplicate checks here and there in this way.
>
> Signed-off-by: Ryder Lee <ryder.lee@xxxxxxxxxxxx>
> Signed-off-by: Vic Wu <vic.wu@xxxxxxxxxxxx>
> ---
> drivers/crypto/mediatek/mtk-aes.c | 39 +++++++++++--------------------
> 1 file changed, 14 insertions(+), 25 deletions(-)

All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt