summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/hpre/hpre_main.c
diff options
context:
space:
mode:
authorHui Tang <tanghui20@huawei.com>2021-03-27 09:32:45 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-04-02 09:28:14 +0200
commit9bb3fbbff3710dfebeed2f8cf9ee61c415722543 (patch)
tree40b26dac74c29da5e366963091407389484ba47c /drivers/crypto/hisilicon/hpre/hpre_main.c
parentcrypto: hisilicon/hpre - fix a typo and delete redundant blank line (diff)
downloadlinux-9bb3fbbff3710dfebeed2f8cf9ee61c415722543.tar.xz
linux-9bb3fbbff3710dfebeed2f8cf9ee61c415722543.zip
crypto: hisilicon/hpre - delete redundant '\n'
It has newline already by sysfs, so delete redundant '\n' Signed-off-by: Hui Tang <tanghui20@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/hpre/hpre_main.c')
-rw-r--r--drivers/crypto/hisilicon/hpre/hpre_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/hisilicon/hpre/hpre_main.c b/drivers/crypto/hisilicon/hpre/hpre_main.c
index 6696ea540f03..a8c79212057d 100644
--- a/drivers/crypto/hisilicon/hpre/hpre_main.c
+++ b/drivers/crypto/hisilicon/hpre/hpre_main.c
@@ -752,9 +752,9 @@ static int hpre_qm_init(struct hisi_qm *qm, struct pci_dev *pdev)
}
if (pdev->revision >= QM_HW_V3)
- qm->algs = "rsa\ndh\necdh\nx25519\nx448\necdsa\nsm2\n";
+ qm->algs = "rsa\ndh\necdh\nx25519\nx448\necdsa\nsm2";
else
- qm->algs = "rsa\ndh\n";
+ qm->algs = "rsa\ndh";
qm->mode = uacce_mode;
qm->pdev = pdev;
qm->ver = pdev->revision;