提交 96acafe0 编写于 作者: J Joe Perches 提交者: Jean Delvare

i2c: Spelling fixes

[JD: One more fix in i2c-dev.]
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
上级 3e39752d
...@@ -135,7 +135,7 @@ static int xfer_write(struct i2c_adapter *adap, unsigned char *buf, int length) ...@@ -135,7 +135,7 @@ static int xfer_write(struct i2c_adapter *adap, unsigned char *buf, int length)
* Generic i2c master transfer entrypoint. * Generic i2c master transfer entrypoint.
* *
* Note: We do not use Atmel's feature of storing the "internal device address". * Note: We do not use Atmel's feature of storing the "internal device address".
* Instead the "internal device address" has to be written using a seperate * Instead the "internal device address" has to be written using a separate
* i2c message. * i2c message.
* http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-September/024411.html * http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-September/024411.html
*/ */
......
...@@ -94,7 +94,7 @@ static s32 i2c_powermac_smbus_xfer( struct i2c_adapter* adap, ...@@ -94,7 +94,7 @@ static s32 i2c_powermac_smbus_xfer( struct i2c_adapter* adap,
break; break;
/* Note that these are broken vs. the expected smbus API where /* Note that these are broken vs. the expected smbus API where
* on reads, the lenght is actually returned from the function, * on reads, the length is actually returned from the function,
* but I think the current API makes no sense and I don't want * but I think the current API makes no sense and I don't want
* any driver that I haven't verified for correctness to go * any driver that I haven't verified for correctness to go
* anywhere near a pmac i2c bus anyway ... * anywhere near a pmac i2c bus anyway ...
......
...@@ -184,7 +184,7 @@ static ssize_t i2cdev_write (struct file *file, const char __user *buf, size_t c ...@@ -184,7 +184,7 @@ static ssize_t i2cdev_write (struct file *file, const char __user *buf, size_t c
/* This address checking function differs from the one in i2c-core /* This address checking function differs from the one in i2c-core
in that it considers an address with a registered device, but no in that it considers an address with a registered device, but no
bounded driver, as NOT busy. */ bound driver, as NOT busy. */
static int i2cdev_check_addr(struct i2c_adapter *adapter, unsigned int addr) static int i2cdev_check_addr(struct i2c_adapter *adapter, unsigned int addr)
{ {
struct list_head *item; struct list_head *item;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册