crypto: qat - relocate power management debugfs helper APIs
authorGeorge Abraham P <george.abraham.p@intel.com>
Mon, 7 Jul 2025 12:28:45 +0000 (13:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jul 2025 10:51:59 +0000 (20:51 +1000)
commit7c68005a46108ffaa598e91f1571e5f7f9acb6dc
tree64fa3b65e1ced25cbf97b0860e49537736ec3e1d
parente83cfb8ff1433cc832d31b8cac967a1eb79d5b44
crypto: qat - relocate power management debugfs helper APIs

Relocate the power management debugfs helper APIs in a common file
adf_pm_dbgfs_utils.h and adf_pm_dbgfs_utils.c so that it can be shared
between device generations.

When moving logic from adf_gen4_pm_debugfs.c to adf_pm_dbgfs_utils.c, the
include kernel.h has been replaced with the required include.

This does not introduce any functional change.

Signed-off-by: George Abraham P <george.abraham.p@intel.com>
Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/Makefile
drivers/crypto/intel/qat/qat_common/adf_gen4_pm_debugfs.c
drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs_utils.c [new file with mode: 0644]
drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs_utils.h [new file with mode: 0644]