diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-22 16:16:47 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-04-22 16:16:47 -0400 |
commit | 08882d20932224d5c4500a855a2f4b1216e5f836 (patch) | |
tree | b877739c8bd1ce43cc25778ff685bf6fad56dc2e /drivers/i2c/i2c-core.c | |
parent | a26c20b1fa6d16fd3c402785b943a5e915eda30a (diff) |
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.c | 2 |
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, | |||
1506 | read_write = I2C_SMBUS_READ; | 1506 | read_write = I2C_SMBUS_READ; |
1507 | if (data->block[0] > I2C_SMBUS_BLOCK_MAX) { | 1507 | if (data->block[0] > I2C_SMBUS_BLOCK_MAX) { |
1508 | dev_err(&adapter->dev, "%s called with invalid " | 1508 | dev_err(&adapter->dev, "%s called with invalid " |
1509 | "block proc call size (%d)\n", __FUNCTION__, | 1509 | "block proc call size (%d)\n", __func__, |
1510 | data->block[0]); | 1510 | data->block[0]); |
1511 | return -1; | 1511 | return -1; |
1512 | } | 1512 | } |