qcacmn: Replace obsolete HIF_WARN() with hif_warn()

Replace obsolete HIF_WARN() with hif_warn().

Change-Id: Idb72d684b9d05aab6cf55ee2608f47c04077d8f7
CRs-Fixed: 2779720
This commit is contained in:
Srinivas Girigowda
2020-09-17 14:38:35 -07:00
committed by snandini
parent 9667b145c6
commit 94ea515d92
7 changed files with 10 additions and 12 deletions

View File

@@ -199,8 +199,7 @@ int hif_napi_create(struct hif_opaque_softc *hif_ctx,
napii->irq = pld_get_irq(hif->qdf_dev->dev, i);
if (napii->irq < 0)
HIF_WARN("%s: bad IRQ value for CE %d: %d",
__func__, i, napii->irq);
hif_warn("bad IRQ value for CE %d: %d", i, napii->irq);
init_dummy_netdev(&(napii->netdev));
@@ -233,7 +232,7 @@ int hif_napi_create(struct hif_opaque_softc *hif_ctx,
/* no ces registered with the napi */
if (!ce_srng_based(hif) && napid->ce_map == 0) {
HIF_WARN("%s: no napis created for copy engines", __func__);
hif_warn("no napis created for copy engines");
rc = -EFAULT;
goto napii_free;
}