aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2014-12-07 14:20:55 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-12-15 13:46:19 -0500
commitda8fbbfd9496e5de5bb9c229257c07b252981dd9 (patch)
tree87f390499eb41c98311f5ff03e3d739cb3d8f51f /drivers/net/wireless
parenta463e9c57ac1f21e40bc8bff77a4de082ebc432e (diff)
zd1211rw: fix misspelling of current function in string
Replace a misspelled function name by %s and then __func__. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/zd1211rw/zd_chip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_chip.c b/drivers/net/wireless/zd1211rw/zd_chip.c
index 73a49b868035..07b94eda9604 100644
--- a/drivers/net/wireless/zd1211rw/zd_chip.c
+++ b/drivers/net/wireless/zd1211rw/zd_chip.c
@@ -129,7 +129,7 @@ int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr
129 r = zd_ioread16v_locked(chip, v16, a16, count16); 129 r = zd_ioread16v_locked(chip, v16, a16, count16);
130 if (r) { 130 if (r) {
131 dev_dbg_f(zd_chip_dev(chip), 131 dev_dbg_f(zd_chip_dev(chip),
132 "error: zd_ioread16v_locked. Error number %d\n", r); 132 "error: %s. Error number %d\n", __func__, r);
133 return r; 133 return r;
134 } 134 }
135 135
@@ -256,8 +256,8 @@ int zd_iowrite32a_locked(struct zd_chip *chip,
256 if (r) { 256 if (r) {
257 zd_usb_iowrite16v_async_end(&chip->usb, 0); 257 zd_usb_iowrite16v_async_end(&chip->usb, 0);
258 dev_dbg_f(zd_chip_dev(chip), 258 dev_dbg_f(zd_chip_dev(chip),
259 "error _zd_iowrite32v_locked." 259 "error _%s. Error number %d\n", __func__,
260 " Error number %d\n", r); 260 r);
261 return r; 261 return r;
262 } 262 }
263 } 263 }