]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/i2c/i2c-core.c
Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[karo-tx-linux.git] / drivers / i2c / i2c-core.c
index e388590b44abc1231eb44c3dd1e6390aefb220fd..66a30f7ac882fe1b653046913b3364549dc7f148 100644 (file)
@@ -1865,29 +1865,6 @@ s32 i2c_smbus_write_word_data(const struct i2c_client *client, u8 command,
 }
 EXPORT_SYMBOL(i2c_smbus_write_word_data);
 
-/**
- * i2c_smbus_process_call - SMBus "process call" protocol
- * @client: Handle to slave device
- * @command: Byte interpreted by slave
- * @value: 16-bit "word" being written
- *
- * This executes the SMBus "process call" protocol, returning negative errno
- * else a 16-bit unsigned "word" received from the device.
- */
-s32 i2c_smbus_process_call(const struct i2c_client *client, u8 command,
-                          u16 value)
-{
-       union i2c_smbus_data data;
-       int status;
-       data.word = value;
-
-       status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
-                               I2C_SMBUS_WRITE, command,
-                               I2C_SMBUS_PROC_CALL, &data);
-       return (status < 0) ? status : data.word;
-}
-EXPORT_SYMBOL(i2c_smbus_process_call);
-
 /**
  * i2c_smbus_read_block_data - SMBus "block read" protocol
  * @client: Handle to slave device