summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-07-14 22:38:23 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 22:38:23 +0200
commit67c2e66571c383404a5acd08189194da660da942 (patch)
treeea54070ed285216a3ab7765abb5eb08a6a0c2415 /drivers/i2c
parenti2c: Group bus drivers by type (diff)
downloadlinux-67c2e66571c383404a5acd08189194da660da942.tar.xz
linux-67c2e66571c383404a5acd08189194da660da942.zip
i2c: Delete unused function i2c_smbus_write_quick
Function i2c_smbus_write_quick has no users left, so we can delete it. Also update the list of these helper functions which are gone but could be added back if needed. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/i2c-core.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
index 937f1dcbf3d7..3695a4a1ab77 100644
--- a/drivers/i2c/i2c-core.c
+++ b/drivers/i2c/i2c-core.c
@@ -1303,13 +1303,6 @@ static int i2c_smbus_check_pec(u8 cpec, struct i2c_msg *msg)
return 0;
}
-s32 i2c_smbus_write_quick(struct i2c_client *client, u8 value)
-{
- return i2c_smbus_xfer(client->adapter,client->addr,client->flags,
- value,0,I2C_SMBUS_QUICK,NULL);
-}
-EXPORT_SYMBOL(i2c_smbus_write_quick);
-
s32 i2c_smbus_read_byte(struct i2c_client *client)
{
union i2c_smbus_data data;