patch-2.4.3 linux/drivers/i2c/i2c-algo-bit.c
Next file: linux/drivers/ide/ide-probe.c
Previous file: linux/drivers/fc4/Makefile
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Mar 6 19:44:34 2001
- Orig file:
v2.4.2/linux/drivers/i2c/i2c-algo-bit.c
- Orig date:
Wed Feb 21 18:20:21 2001
diff -u --recursive --new-file v2.4.2/linux/drivers/i2c/i2c-algo-bit.c linux/drivers/i2c/i2c-algo-bit.c
@@ -169,7 +169,7 @@
/* returns:
* 1 if the device acknowledged
* 0 if the device did not ack
- * -ETIMEDOUT if an error occured (while raising the scl line)
+ * -ETIMEDOUT if an error occurred (while raising the scl line)
*/
static int i2c_outb(struct i2c_adapter *i2c_adap, char c)
{
@@ -421,7 +421,7 @@
* reads, writes as well as 10bit-addresses.
* returns:
* 0 everything went okay, the chip ack'ed
- * -x an error occured (like: -EREMOTEIO if the device did not answer, or
+ * -x an error occurred (like: -EREMOTEIO if the device did not answer, or
* -ETIMEDOUT, for example if the lines are stuck...)
*/
static inline int bit_doAddress(struct i2c_adapter *i2c_adap,
@@ -445,7 +445,7 @@
/* the remaining 8 bit address */
ret = i2c_outb(i2c_adap,msg->addr & 0x7f);
if (ret != 1) {
- /* the chip did not ack / xmission error occured */
+ /* the chip did not ack / xmission error occurred */
printk("died at 2nd address code.\n");
return -EREMOTEIO;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)