qcacld-3.0: Replace hdd_context_t in wlan_hdd_memdump.c

The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: If3ba3e869a9dddd14432c6d9416d7b386f23eb3d
CRs-Fixed: 2100182
diff --git a/core/hdd/src/wlan_hdd_memdump.c b/core/hdd/src/wlan_hdd_memdump.c
index b7261cb..c70d8d5 100644
--- a/core/hdd/src/wlan_hdd_memdump.c
+++ b/core/hdd/src/wlan_hdd_memdump.c
@@ -66,7 +66,7 @@
 static void memdump_cleanup_timer_cb(void *data)
 {
 	int status;
-	hdd_context_t *hdd_ctx = data;
+	struct hdd_context *hdd_ctx = data;
 	qdf_dma_addr_t paddr;
 	qdf_dma_addr_t dma_ctx = 0;
 	qdf_device_t qdf_ctx;
@@ -110,7 +110,7 @@
 void wlan_hdd_cfg80211_fw_mem_dump_cb(void *ctx,
 					     struct fw_dump_rsp *dump_rsp)
 {
-	hdd_context_t *hdd_ctx = ctx;
+	struct hdd_context *hdd_ctx = ctx;
 	struct hdd_fw_dump_context *context;
 	int status;
 
@@ -142,7 +142,7 @@
  *
  * Return: 0 for success; non-zero for failure
  */
-static int wlan_hdd_send_memdump_rsp(hdd_context_t *hdd_ctx)
+static int wlan_hdd_send_memdump_rsp(struct hdd_context *hdd_ctx)
 {
 	struct sk_buff *skb;
 	int status;
@@ -193,7 +193,7 @@
 {
 	int status;
 	QDF_STATUS sme_status;
-	hdd_context_t *hdd_ctx = wiphy_priv(wiphy);
+	struct hdd_context *hdd_ctx = wiphy_priv(wiphy);
 	struct fw_dump_req fw_mem_dump_req;
 	struct fw_dump_seg_req *seg_req;
 	uint8_t loop;
@@ -386,7 +386,7 @@
 					size_t count, loff_t *pos)
 {
 	int status;
-	hdd_context_t *hdd_ctx;
+	struct hdd_context *hdd_ctx;
 	qdf_dma_addr_t paddr;
 	qdf_dma_addr_t dma_ctx = 0;
 	qdf_device_t qdf_ctx;
@@ -480,7 +480,7 @@
  */
 static int memdump_procfs_init(void)
 {
-	hdd_context_t *hdd_ctx;
+	struct hdd_context *hdd_ctx;
 
 	hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
 	if (!hdd_ctx) {
@@ -538,7 +538,7 @@
  */
 int memdump_init(void)
 {
-	hdd_context_t *hdd_ctx;
+	struct hdd_context *hdd_ctx;
 	int status = 0;
 	QDF_STATUS qdf_status;
 
@@ -584,7 +584,7 @@
  */
 void memdump_deinit(void)
 {
-	hdd_context_t *hdd_ctx;
+	struct hdd_context *hdd_ctx;
 	qdf_dma_addr_t paddr;
 	qdf_dma_addr_t dma_ctx = 0;
 	qdf_device_t qdf_ctx;
@@ -656,7 +656,7 @@
  */
 static void hdd_driver_mem_cleanup(void)
 {
-	hdd_context_t *hdd_ctx;
+	struct hdd_context *hdd_ctx;
 
 	hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
 	if (!hdd_ctx) {
@@ -688,7 +688,7 @@
 {
 	int status;
 	QDF_STATUS qdf_status;
-	hdd_context_t *hdd_ctx;
+	struct hdd_context *hdd_ctx;
 	size_t no_of_bytes_read = 0;
 
 	hdd_ctx = memdump_get_file_data(file);
@@ -784,7 +784,7 @@
  */
 static int hdd_driver_memdump_procfs_init(void)
 {
-	hdd_context_t *hdd_ctx;
+	struct hdd_context *hdd_ctx;
 
 	hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
 	if (!hdd_ctx) {