qcacld-3.0: Replace regulatory apis with reg component apis

Replace the legacy regulatory apis with regulatory component
public service apis

Change-Id: Ifd8c93fc8f57116cfc432b853248b35fd7ed1b94
CRs-Fixed: 2008013
diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c
index cb6b23a..4d56e5d 100644
--- a/core/hdd/src/wlan_hdd_ioctl.c
+++ b/core/hdd/src/wlan_hdd_ioctl.c
@@ -5959,7 +5959,7 @@
 	if (ret != 1)
 		return -EINVAL;
 
-	if (CDS_IS_DFS_CH(set_value)) {
+	if (wlan_reg_is_dfs_ch(hdd_ctx->hdd_pdev, set_value)) {
 		hdd_err("DFS channel %d is passed for hdd_set_tdls_offchannel",
 		    set_value);
 		return -EINVAL;