projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dbcf31
)
drm/i2c: tda998x: fix misspelling of current function in string
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Sun, 7 Dec 2014 19:20:59 +0000
(20:20 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 21 Jan 2015 14:21:37 +0000
(14:21 +0000)
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: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index 4dcf47417aee75d5998826ca3a4aaf31bef97872..d853ab5ba472aa7a493029570ee90ba6f7fd7bdb 100644
(file)
--- a/
drivers/gpu/drm/i2c/tda998x_drv.c
+++ b/
drivers/gpu/drm/i2c/tda998x_drv.c
@@
-386,7
+386,7
@@
set_page(struct tda998x_priv *priv, uint16_t reg)
};
int ret = i2c_master_send(client, buf, sizeof(buf));
if (ret < 0) {
- dev_err(&client->dev, "
setpage %04x err %d\n"
,
+ dev_err(&client->dev, "
%s %04x err %d\n", __func__
,
reg, ret);
return ret;
}