Commit da8fbbfd authored by Julia Lawall's avatar Julia Lawall Committed by John W. Linville

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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a463e9c5
...@@ -129,7 +129,7 @@ int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr ...@@ -129,7 +129,7 @@ int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr
r = zd_ioread16v_locked(chip, v16, a16, count16); r = zd_ioread16v_locked(chip, v16, a16, count16);
if (r) { if (r) {
dev_dbg_f(zd_chip_dev(chip), dev_dbg_f(zd_chip_dev(chip),
"error: zd_ioread16v_locked. Error number %d\n", r); "error: %s. Error number %d\n", __func__, r);
return r; return r;
} }
...@@ -256,8 +256,8 @@ int zd_iowrite32a_locked(struct zd_chip *chip, ...@@ -256,8 +256,8 @@ int zd_iowrite32a_locked(struct zd_chip *chip,
if (r) { if (r) {
zd_usb_iowrite16v_async_end(&chip->usb, 0); zd_usb_iowrite16v_async_end(&chip->usb, 0);
dev_dbg_f(zd_chip_dev(chip), dev_dbg_f(zd_chip_dev(chip),
"error _zd_iowrite32v_locked." "error _%s. Error number %d\n", __func__,
" Error number %d\n", r); r);
return r; return r;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment