summaryrefslogtreecommitdiffstats
path: root/Documentation/i2c/smbus-protocol
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-11-19 16:31:42 +0530
committerWolfram Sang <w.sang@pengutronix.de>2013-01-28 05:26:41 +0100
commitc81109332068b44db4fd7b650c0e6bc0fc1411f1 (patch)
tree4fca0d13ae02c67a0a52662198d4c744718f9ec9 /Documentation/i2c/smbus-protocol
parent949db153b6466c6f7cad5a427ecea94985927311 (diff)
downloadlinux-c81109332068b44db4fd7b650c0e6bc0fc1411f1.tar.gz
linux-c81109332068b44db4fd7b650c0e6bc0fc1411f1.tar.bz2
linux-c81109332068b44db4fd7b650c0e6bc0fc1411f1.zip
i2c: core: Remove definition of i2c_smbus_process_call
i2c_smbus_process_call has no users in the kernel, so this can be removed. Documentation for the same has been updated accordingly. Fixes following sparse warning. drivers/i2c/i2c-core.c:1871:5: warning: symbol 'i2c_smbus_process_call' was not declared. Should it be static? [wsa: updated the documentation] Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation/i2c/smbus-protocol')
-rw-r--r--Documentation/i2c/smbus-protocol4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/i2c/smbus-protocol b/Documentation/i2c/smbus-protocol
index d1f22618e14b..6012b12b3510 100644
--- a/Documentation/i2c/smbus-protocol
+++ b/Documentation/i2c/smbus-protocol
@@ -137,8 +137,8 @@ available for writes where the two data bytes are the other way
around (not SMBus compliant, but very popular.)
-SMBus Process Call: i2c_smbus_process_call()
-=============================================
+SMBus Process Call:
+===================
This command selects a device register (through the Comm byte), sends
16 bits of data to it, and reads 16 bits of data in return.