aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@nuerscht.ch>2005-05-19 15:41:47 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-22 00:52:00 -0400
commitd68a861d857c11a017a8f755fa250afaf8b1bcdb (patch)
tree85975dd625d7a58da2a4e90c01729332a533c8a2 /drivers/i2c
parenta551acc2cb1f13a9bd728b8cf86f9adafefdcfb2 (diff)
[PATCH] I2C: Spelling fixes for drivers/i2c/i2c-dev.c
This patch fixes a misspelling in a comment section. Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/i2c-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c
index cb217c454835..bc5d557e5dd9 100644
--- a/drivers/i2c/i2c-dev.c
+++ b/drivers/i2c/i2c-dev.c
@@ -213,7 +213,7 @@ static int i2cdev_ioctl(struct inode *inode, struct file *file,
213 sizeof(rdwr_arg))) 213 sizeof(rdwr_arg)))
214 return -EFAULT; 214 return -EFAULT;
215 215
216 /* Put an arbritrary limit on the number of messages that can 216 /* Put an arbitrary limit on the number of messages that can
217 * be sent at once */ 217 * be sent at once */
218 if (rdwr_arg.nmsgs > I2C_RDRW_IOCTL_MAX_MSGS) 218 if (rdwr_arg.nmsgs > I2C_RDRW_IOCTL_MAX_MSGS)
219 return -EINVAL; 219 return -EINVAL;