OSDN Git Service

crypto: hisilicon/hpre - remove the macro of 'HPRE_DEV'
authorHui Tang <tanghui20@huawei.com>
Wed, 12 May 2021 06:27:07 +0000 (14:27 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 May 2021 08:17:30 +0000 (16:17 +0800)
commitb94c910afda050a9e95465ff0c4fe2548ea5ac0a
tree50837edf5d0405aceb9b546446d6c28c83848358
parent9201c0774c2203d5620eeb4f7cb872d7e33cbe75
crypto: hisilicon/hpre - remove the macro of 'HPRE_DEV'

Remove complex macro of 'HPRE_DEV' and replace with the initialized
device pointer.

Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_crypto.c