summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-22 22:16:47 +0200
committerJean Delvare <khali@hyperion.delvare>2008-04-22 22:16:47 +0200
commit08882d20932224d5c4500a855a2f4b1216e5f836 (patch)
treeb877739c8bd1ce43cc25778ff685bf6fad56dc2e /drivers/i2c/i2c-core.c
parenta26c20b1fa6d16fd3c402785b943a5e915eda30a (diff)
downloadblackbird-op-linux-08882d20932224d5c4500a855a2f4b1216e5f836.tar.gz
blackbird-op-linux-08882d20932224d5c4500a855a2f4b1216e5f836.zip
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/i2c-core.c')
-rw-r--r--drivers/i2c/i2c-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
index e186df657119..6c7fa8d53c0e 100644
--- a/drivers/i2c/i2c-core.c
+++ b/drivers/i2c/i2c-core.c
@@ -1506,7 +1506,7 @@ static s32 i2c_smbus_xfer_emulated(struct i2c_adapter * adapter, u16 addr,
read_write = I2C_SMBUS_READ;
if (data->block[0] > I2C_SMBUS_BLOCK_MAX) {
dev_err(&adapter->dev, "%s called with invalid "
- "block proc call size (%d)\n", __FUNCTION__,
+ "block proc call size (%d)\n", __func__,
data->block[0]);
return -1;
}
OpenPOWER on IntegriCloud