This series clean the vfs_num related redundant code in this series, move all into QM. Hao Fang (1): crypto: hisilicon - add vfs_num module parameter for hpre/sec Shukun Tan (2): crypto: hisilicon - put vfs_num into struct hisi_qm crypto: hisilicon - unify SR-IOV related codes into QM drivers/crypto/hisilicon/hpre/hpre.h | 1 - drivers/crypto/hisilicon/hpre/hpre_main.c | 130 +++++----------------------- drivers/crypto/hisilicon/qm.c | 136 +++++++++++++++++++++++++++-- drivers/crypto/hisilicon/qm.h | 25 +++++- drivers/crypto/hisilicon/sec2/sec.h | 1 - drivers/crypto/hisilicon/sec2/sec_main.c | 137 ++++++------------------------ drivers/crypto/hisilicon/zip/zip_main.c | 131 ++++------------------------ 7 files changed, 215 insertions(+), 346 deletions(-) -- 2.7.4