qcacmn: Fix kernel module check patch warnings in HIF Dispatcher files

Fix kernel module check patch warnings in HIF DISPATCHER files

Change-Id: Ice22f299c075f99eacc20c7acc10fe8040139f97
CRs-fixed: 2033001
diff --git a/hif/src/dispatcher/dummy.c b/hif/src/dispatcher/dummy.c
index dbf061e..dcd9ee8 100644
--- a/hif/src/dispatcher/dummy.c
+++ b/hif/src/dispatcher/dummy.c
@@ -195,7 +195,6 @@
 void
 hif_dummy_set_mailbox_swap(struct hif_softc *hif_sc)
 {
-	return;
 }
 
 /**
@@ -207,7 +206,6 @@
 void
 hif_dummy_claim_device(struct hif_softc *hif_sc)
 {
-	return;
 }
 
 /**
@@ -219,7 +217,6 @@
 void
 hif_dummy_cancel_deferred_target_sleep(struct hif_softc *hif_sc)
 {
-	return;
 }
 
 /**
@@ -323,7 +320,6 @@
 void
 hif_dummy_mask_interrupt_call(struct hif_softc *hif_sc)
 {
-	return;
 }
 
 /**
@@ -354,7 +350,6 @@
 void hif_dummy_set_bundle_mode(struct hif_softc *hif_ctx,
 					bool enabled, int rx_bundle_cnt)
 {
-	return;
 }
 
 /**
diff --git a/hif/src/dispatcher/multibus.c b/hif/src/dispatcher/multibus.c
index a922ed5..36f6f5f 100644
--- a/hif/src/dispatcher/multibus.c
+++ b/hif/src/dispatcher/multibus.c
@@ -192,42 +192,49 @@
 void hif_reset_soc(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	hif_sc->bus_ops.hif_reset_soc(hif_sc);
 }
 
 int hif_bus_early_suspend(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	return hif_sc->bus_ops.hif_bus_early_suspend(hif_sc);
 }
 
 int hif_bus_late_resume(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	return hif_sc->bus_ops.hif_bus_late_resume(hif_sc);
 }
 
 int hif_bus_suspend(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	return hif_sc->bus_ops.hif_bus_suspend(hif_sc);
 }
 
 int hif_bus_resume(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	return hif_sc->bus_ops.hif_bus_resume(hif_sc);
 }
 
 int hif_bus_suspend_noirq(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	return hif_sc->bus_ops.hif_bus_suspend_noirq(hif_sc);
 }
 
 int hif_bus_resume_noirq(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	return hif_sc->bus_ops.hif_bus_resume_noirq(hif_sc);
 }
 
@@ -241,6 +248,7 @@
 void hif_disable_isr(struct hif_opaque_softc *hif_hdl)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_hdl);
+
 	hif_sc->bus_ops.hif_disable_isr(hif_sc);
 }
 
@@ -270,6 +278,7 @@
 		     int opcode, void *config, uint32_t config_len)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	return hif_sc->bus_ops.hif_get_config_item(hif_sc, opcode, config,
 						 config_len);
 }
@@ -277,24 +286,28 @@
 void hif_set_mailbox_swap(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	hif_sc->bus_ops.hif_set_mailbox_swap(hif_sc);
 }
 
 void hif_claim_device(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	hif_sc->bus_ops.hif_claim_device(hif_sc);
 }
 
 void hif_shutdown_device(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	hif_sc->bus_ops.hif_shutdown_device(hif_sc);
 }
 
 void hif_stop(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
+
 	hif_sc->bus_ops.hif_stop(hif_sc);
 }
 
@@ -331,6 +344,7 @@
 int hif_dump_registers(struct hif_opaque_softc *hif_hdl)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_hdl);
+
 	return hif_sc->bus_ops.hif_dump_registers(hif_sc);
 }
 
@@ -339,6 +353,7 @@
 			    uint32_t address, uint32_t size)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_hdl);
+
 	hif_sc->bus_ops.hif_dump_target_memory(hif_sc, ramdump_base,
 					       address, size);
 }
@@ -349,6 +364,7 @@
 			     qdf_dma_addr_t *ce_reg_paddr)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_hdl);
+
 	hif_sc->bus_ops.hif_ipa_get_ce_resource(hif_sc, ce_sr_base_paddr,
 						ce_sr_ring_size, ce_reg_paddr);
 }
@@ -356,6 +372,7 @@
 void hif_mask_interrupt_call(struct hif_opaque_softc *hif_hdl)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_hdl);
+
 	hif_sc->bus_ops.hif_mask_interrupt_call(hif_sc);
 }
 
@@ -386,6 +403,7 @@
 				 bool is_packet_log_enabled)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_hdl);
+
 	hif_sc->bus_ops.hif_enable_power_management(hif_sc,
 				    is_packet_log_enabled);
 }
@@ -401,6 +419,7 @@
 void hif_disable_power_management(struct hif_opaque_softc *hif_hdl)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_hdl);
+
 	hif_sc->bus_ops.hif_disable_power_management(hif_sc);
 }
 
@@ -416,6 +435,7 @@
 				int rx_bundle_cnt)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(scn);
+
 	hif_sc->bus_ops.hif_set_bundle_mode(hif_sc, enabled, rx_bundle_cnt);
 }
 
@@ -433,6 +453,7 @@
 
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(scn);
+
 	return hif_sc->bus_ops.hif_bus_reset_resume(hif_sc);
 }
 
diff --git a/hif/src/dispatcher/multibus.h b/hif/src/dispatcher/multibus.h
index eb5d77f..02331c2 100644
--- a/hif/src/dispatcher/multibus.h
+++ b/hif/src/dispatcher/multibus.h
@@ -36,7 +36,7 @@
 
 struct hif_bus_ops {
 	QDF_STATUS (*hif_bus_open)(struct hif_softc *hif_sc,
-				   enum qdf_bus_type bus_type);
+					enum qdf_bus_type bus_type);
 	void (*hif_bus_close)(struct hif_softc *hif_sc);
 	void (*hif_bus_prevent_linkdown)(struct hif_softc *hif_sc, bool flag);
 	void (*hif_reset_soc)(struct hif_softc *hif_sc);
@@ -51,12 +51,14 @@
 	void (*hif_disable_isr)(struct hif_softc *hif_sc);
 	void (*hif_nointrs)(struct hif_softc *hif_sc);
 	QDF_STATUS (*hif_enable_bus)(struct hif_softc *hif_sc,
-			struct device *dev, void *bdev, const hif_bus_id *bid,
-			enum hif_enable_type type);
+				      struct device *dev,
+				      void *bdev,
+				      const struct hif_bus_id *bid,
+				      enum hif_enable_type type);
 	void (*hif_disable_bus)(struct hif_softc *hif_sc);
 	int (*hif_bus_configure)(struct hif_softc *hif_sc);
 	QDF_STATUS (*hif_get_config_item)(struct hif_softc *hif_sc,
-		     int opcode, void *config, uint32_t config_len);
+			     int opcode, void *config, uint32_t config_len);
 	void (*hif_set_mailbox_swap)(struct hif_softc *hif_sc);
 	void (*hif_claim_device)(struct hif_softc *hif_sc);
 	void (*hif_shutdown_device)(struct hif_softc *hif_sc);
@@ -81,7 +83,7 @@
 	void (*hif_disable_power_management)(struct hif_softc *hif_ctx);
 	void (*hif_display_stats)(struct hif_softc *hif_ctx);
 	void (*hif_clear_stats)(struct hif_softc *hif_ctx);
-	void (*hif_set_bundle_mode) (struct hif_softc *hif_ctx, bool enabled,
+	void (*hif_set_bundle_mode)(struct hif_softc *hif_ctx, bool enabled,
 					int rx_bundle_cnt);
 	int (*hif_bus_reset_resume)(struct hif_softc *hif_ctx);
 	int (*hif_map_ce_to_irq)(struct hif_softc *hif_sc, int ce_id);