summaryrefslogtreecommitdiff
path: root/drivers/staging/ath6kl/wmi
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2011-03-29 17:55:58 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-04 22:58:02 -0700
commitab8911150f824f496c67b3bab19c15ff62ddff27 (patch)
treee47e5041afed96735fe66bde289a68e792d7ef41 /drivers/staging/ath6kl/wmi
parent1fec95c503bea25665e5d62221016255a20f2c02 (diff)
ath6kl: s|A_FREE|kfree|g
for i in $(find ./drivers/staging/ath6kl/ -name \*.[ch]) ; do \ sed -r -i -e "s/A_FREE/kfree/g" $i; done Tested-by: Naveen Singh <nsingh@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/wmi')
-rw-r--r--drivers/staging/ath6kl/wmi/wmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/ath6kl/wmi/wmi.c b/drivers/staging/ath6kl/wmi/wmi.c
index 0ddaee21f9d7..eccccee94fd0 100644
--- a/drivers/staging/ath6kl/wmi/wmi.c
+++ b/drivers/staging/ath6kl/wmi/wmi.c
@@ -381,7 +381,7 @@ wmi_shutdown(struct wmi_t *wmip)
A_MUTEX_DELETE(&wmip->wmi_lock);
#endif
}
- A_FREE(wmip);
+ kfree(wmip);
}
}
@@ -5877,7 +5877,7 @@ wmi_scan_indication (struct wmi_t *wmip)
ar6000_scan_indication (wmip->wmi_devt, pAr6kScanIndEvent, size);
- A_FREE(pAr6kScanIndEvent);
+ kfree(pAr6kScanIndEvent);
}
#endif