diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-12-07 22:20:59 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-01-21 17:21:37 +0300 |
commit | 288ffc73f6e9be6334ca491994cc01110bebfc96 (patch) | |
tree | 08060cb07caa0d4cb9e80d4ee4cfdb17b0061ad6 /drivers/gpu/drm/i2c/tda998x_drv.c | |
parent | 5dbcf319b283276468a52feafefeb5802d87cb8a (diff) | |
download | linux-288ffc73f6e9be6334ca491994cc01110bebfc96.tar.xz |
drm/i2c: tda998x: 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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/i2c/tda998x_drv.c')
-rw-r--r-- | drivers/gpu/drm/i2c/tda998x_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index 4dcf47417aee..d853ab5ba472 100644 --- 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; } |