Split a debugfs.c from qm to reduce the qm code complexity. And optimize the process of the command dumping. Some optimizations on command dumping in debugfs.c file code. changes v1->v2: - delete a redundant line. Kai Ye (4): crypto: hisilicon/qm - modify the process of regs dfx crypto: hisilicon/qm - split a debugfs.c from qm crypto: hisilicon/qm - the command dump process is modified crypto: hisilicon/debugfs - delete redundant null assignment operations drivers/crypto/hisilicon/Makefile | 2 +- drivers/crypto/hisilicon/debugfs.c | 1172 ++++++++++++++++++ drivers/crypto/hisilicon/hpre/hpre_main.c | 6 +- drivers/crypto/hisilicon/qm.c | 1360 ++------------------- drivers/crypto/hisilicon/qm_common.h | 87 ++ drivers/crypto/hisilicon/sec2/sec_main.c | 6 +- drivers/crypto/hisilicon/zip/zip_main.c | 6 +- include/linux/hisi_acc_qm.h | 8 +- 8 files changed, 1381 insertions(+), 1266 deletions(-) create mode 100644 drivers/crypto/hisilicon/debugfs.c create mode 100644 drivers/crypto/hisilicon/qm_common.h -- 2.17.1