Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43573
b: refs/heads/master
c: cba0a12
h: refs/heads/master
i:
  43571: 4a11ca2
v: v3
  • Loading branch information
Josef Sipek authored and Linus Torvalds committed Dec 8, 2006
1 parent 0bb5f9d commit 3c6d92c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b39424e274a17c9c3233c9911dd328b10370de8f
refs/heads/master: cba0a128434f1fae6f90ba9f1fedf18be7abcf48
4 changes: 2 additions & 2 deletions trunk/drivers/i2c/i2c-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static ssize_t i2cdev_read (struct file *file, char __user *buf, size_t count,
return -ENOMEM;

pr_debug("i2c-dev: i2c-%d reading %zd bytes.\n",
iminor(file->f_dentry->d_inode), count);
iminor(file->f_path.dentry->d_inode), count);

ret = i2c_master_recv(client,tmp,count);
if (ret >= 0)
Expand Down Expand Up @@ -147,7 +147,7 @@ static ssize_t i2cdev_write (struct file *file, const char __user *buf, size_t c
}

pr_debug("i2c-dev: i2c-%d writing %zd bytes.\n",
iminor(file->f_dentry->d_inode), count);
iminor(file->f_path.dentry->d_inode), count);

ret = i2c_master_send(client,tmp,count);
kfree(tmp);
Expand Down

0 comments on commit 3c6d92c

Please sign in to comment.