Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219477
b: refs/heads/master
c: d889a13
h: refs/heads/master
i:
  219475: ee95892
v: v3
  • Loading branch information
Jarod Wilson authored and Mauro Carvalho Chehab committed Oct 22, 2010
1 parent d0e027c commit 8b8efdc
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 90dc4cfa2076cdc4df4c2f5dd3cadeefd9557c2c
refs/heads/master: d889a135cb832c77b7f90a89b40090e4e9ba609b
3 changes: 1 addition & 2 deletions trunk/drivers/media/IR/lirc_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ int lirc_dev_fop_open(struct inode *inode, struct file *file)
retval = -ENODEV;
goto error;
}
file->private_data = ir;

dev_dbg(ir->d.dev, LOGHEAD "open called\n", ir->d.name, ir->d.minor);

Expand Down Expand Up @@ -528,7 +527,7 @@ long lirc_dev_fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
__u32 mode;
int result = 0;
struct irctl *ir = file->private_data;
struct irctl *ir = irctls[iminor(file->f_dentry->d_inode)];

if (!ir) {
printk(KERN_ERR "lirc_dev: %s: no irctl found!\n", __func__);
Expand Down

0 comments on commit 8b8efdc

Please sign in to comment.