diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2017-05-25 16:55:42 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-05-31 15:01:05 -0400 |
commit | 984b292333ea873cfa1eb5ae17344b40a43e26c3 (patch) | |
tree | adacc4148a49c428ee9132e13b13f271526aef03 /Documentation/i2c | |
parent | 53f8f7c5cf145d639ebd6d13cfdf2e3e9764add3 (diff) |
docs: i2c: dev-interface: adapt to new filenames of the i2c core
The I2C core files were renamed, adapt the textfile to it.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/i2c')
-rw-r--r-- | Documentation/i2c/dev-interface | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/i2c/dev-interface b/Documentation/i2c/dev-interface index bcf919d8625c..5ff19447ac44 100644 --- a/Documentation/i2c/dev-interface +++ b/Documentation/i2c/dev-interface | |||
@@ -191,7 +191,7 @@ checking on future transactions.) | |||
191 | 4* Other ioctl() calls are converted to in-kernel function calls by | 191 | 4* Other ioctl() calls are converted to in-kernel function calls by |
192 | i2c-dev. Examples include I2C_FUNCS, which queries the I2C adapter | 192 | i2c-dev. Examples include I2C_FUNCS, which queries the I2C adapter |
193 | functionality using i2c.h:i2c_get_functionality(), and I2C_SMBUS, which | 193 | functionality using i2c.h:i2c_get_functionality(), and I2C_SMBUS, which |
194 | performs an SMBus transaction using i2c-core.c:i2c_smbus_xfer(). | 194 | performs an SMBus transaction using i2c-core-smbus.c:i2c_smbus_xfer(). |
195 | 195 | ||
196 | The i2c-dev driver is responsible for checking all the parameters that | 196 | The i2c-dev driver is responsible for checking all the parameters that |
197 | come from user-space for validity. After this point, there is no | 197 | come from user-space for validity. After this point, there is no |
@@ -200,13 +200,13 @@ and calls that would have been performed by kernel I2C chip drivers | |||
200 | directly. This means that I2C bus drivers don't need to implement | 200 | directly. This means that I2C bus drivers don't need to implement |
201 | anything special to support access from user-space. | 201 | anything special to support access from user-space. |
202 | 202 | ||
203 | 5* These i2c-core.c/i2c.h functions are wrappers to the actual | 203 | 5* These i2c.h functions are wrappers to the actual implementation of |
204 | implementation of your I2C bus driver. Each adapter must declare | 204 | your I2C bus driver. Each adapter must declare callback functions |
205 | callback functions implementing these standard calls. | 205 | implementing these standard calls. i2c.h:i2c_get_functionality() calls |
206 | i2c.h:i2c_get_functionality() calls i2c_adapter.algo->functionality(), | 206 | i2c_adapter.algo->functionality(), while |
207 | while i2c-core.c:i2c_smbus_xfer() calls either | 207 | i2c-core-smbus.c:i2c_smbus_xfer() calls either |
208 | adapter.algo->smbus_xfer() if it is implemented, or if not, | 208 | adapter.algo->smbus_xfer() if it is implemented, or if not, |
209 | i2c-core.c:i2c_smbus_xfer_emulated() which in turn calls | 209 | i2c-core-smbus.c:i2c_smbus_xfer_emulated() which in turn calls |
210 | i2c_adapter.algo->master_xfer(). | 210 | i2c_adapter.algo->master_xfer(). |
211 | 211 | ||
212 | After your I2C bus driver has processed these requests, execution runs | 212 | After your I2C bus driver has processed these requests, execution runs |