crypto: hisilicon/sec - fixes some coding style
authorLongfang Liu <liulongfang@huawei.com>
Sat, 13 Mar 2021 07:28:24 +0000 (15:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 Mar 2021 10:59:46 +0000 (21:59 +1100)
commita44dce504bce620daff97a3e77650b7b579e8753
tree3c3c31814d188df937430c69168f20f2c7201c28
parent4b7aef0230418345be1fb77abbb1592801869901
crypto: hisilicon/sec - fixes some coding style

1.delete the original complex method of obtaining the
current device and replace it with the initialized
device pointer.
2.fixes some coding style

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec.h
drivers/crypto/hisilicon/sec2/sec_crypto.c
drivers/crypto/hisilicon/sec2/sec_crypto.h