crypto: hisilicon/qm - the command dump process is modified
authorKai Ye <yekai13@huawei.com>
Sat, 12 Nov 2022 02:12:53 +0000 (02:12 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Nov 2022 09:00:22 +0000 (17:00 +0800)
commit9c75609842f091fa814153d21243b07988dc8ef3
tree593b5dfc6827d271709b4a68f3e832c0b31c2eb0
parent94476b2b6d60bc926a585ae62e1bf69bd22c1dff
crypto: hisilicon/qm - the command dump process is modified

Reduce the function complexity by use the function table in the
process of dumping queue. The function input parameters are
unified. And maintainability is enhanced.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/debugfs.c