crypto: qat - move vf2pf_init and vf2pf_exit to common
authorTadeusz Struk <tadeusz.struk@intel.com>
Fri, 15 Apr 2016 17:37:58 +0000 (10:37 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 18 Apr 2016 10:49:47 +0000 (18:49 +0800)
commit02dc8d634b4f175d92aa8b0b217eb0e4db1a0c3b
treef1a1d21d82dc5b60db593196280c7a18bb5a934e
parent5f575efea79caae69b81f922d99b221302a2c003
crypto: qat - move vf2pf_init and vf2pf_exit to common

The vf2pf_init and vf2pf_exit are exactly the same for all VFs
so move them to common and reuse.

Tested-by: Suman Bangalore Sathyanarayana <sumanx.bangalore.sathyanarayana@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.c
drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.c
drivers/crypto/qat/qat_common/Makefile
drivers/crypto/qat/qat_common/adf_common_drv.h
drivers/crypto/qat/qat_common/adf_vf2pf_msg.c [new file with mode: 0644]
drivers/crypto/qat/qat_dh895xccvf/adf_dh895xccvf_hw_data.c