diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-22 20:16:47 (GMT) |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-04-22 20:16:47 (GMT) |
commit | 08882d20932224d5c4500a855a2f4b1216e5f836 (patch) | |
tree | b877739c8bd1ce43cc25778ff685bf6fad56dc2e /drivers/i2c/busses/i2c-s3c2410.c | |
parent | a26c20b1fa6d16fd3c402785b943a5e915eda30a (diff) | |
download | linux-08882d20932224d5c4500a855a2f4b1216e5f836.tar.xz |
i2c: Replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-s3c2410.c')
-rw-r--r-- | drivers/i2c/busses/i2c-s3c2410.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index c44ada5..5ece33e 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c @@ -276,12 +276,12 @@ static int i2s_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat) switch (i2c->state) { case STATE_IDLE: - dev_err(i2c->dev, "%s: called in STATE_IDLE\n", __FUNCTION__); + dev_err(i2c->dev, "%s: called in STATE_IDLE\n", __func__); goto out; break; case STATE_STOP: - dev_err(i2c->dev, "%s: called in STATE_STOP\n", __FUNCTION__); + dev_err(i2c->dev, "%s: called in STATE_STOP\n", __func__); s3c24xx_i2c_disable_irq(i2c); goto out_ack; |