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>
This commit is contained in:
Julia Lawall 2014-12-07 20:20:59 +01:00 committed by Russell King
parent 5dbcf319b2
commit 288ffc73f6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}