]> www.infradead.org Git - users/dwmw2/linux.git/commit
crypto: hisilicon/sec - fixes some coding style
authorLongfang Liu <liulongfang@huawei.com>
Sat, 13 Mar 2021 07:28:24 +0000 (15:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2022 13:15:45 +0000 (15:15 +0200)
commit1f697d7952904a71e35e8222cda88d85d057aa7f
tree2b765a2a492160405e7c5e13fd732f4b9c26544f
parentbf386c955f35a0a01bef482b6035d40ff2f6cc75
crypto: hisilicon/sec - fixes some coding style

[ Upstream commit a44dce504bce620daff97a3e77650b7b579e8753 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/hisilicon/sec2/sec.h
drivers/crypto/hisilicon/sec2/sec_crypto.c
drivers/crypto/hisilicon/sec2/sec_crypto.h