qcacmn: Cleanup CONFIG_MCL from qdf runtime apis

In the current implementation, qdf runtime apis invocation
is controlled by macro CONFIG_MCL. So replace the CONFIG_MCL
with the feature flag FEATURE_RUNTIME_PM.

Change-Id: If120c87aa9ed1a0b3e4629c6ee1df4922744656b
CRs-Fixed: 2463188
此提交包含在:
Sravan Kumar Kairam
2019-05-31 14:45:05 +05:30
提交者 nshrivas
父節點 ce928dcd67
當前提交 ea9a12b9ce

查看文件

@@ -386,7 +386,7 @@ QDF_STATUS qdf_wake_lock_destroy(qdf_wake_lock_t *lock)
#endif
qdf_export_symbol(qdf_wake_lock_destroy);
#ifdef CONFIG_MCL
#ifdef FEATURE_RUNTIME_PM
/**
* qdf_runtime_pm_get() - do a get opperation on the device
*
@@ -587,7 +587,7 @@ void qdf_runtime_lock_deinit(qdf_runtime_lock_t *lock)
}
qdf_export_symbol(qdf_runtime_lock_deinit);
#endif /* CONFIG_MCL */
#endif /* FEATURE_RUNTIME_PM */
/**
* qdf_spinlock_acquire() - acquires a spin lock