Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359171
b: refs/heads/master
c: 0990a97
h: refs/heads/master
i:
  359169: afadf50
  359167: 417edc1
v: v3
  • Loading branch information
Al Viro committed Feb 26, 2013
1 parent 888c00c commit 312d55a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 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: 0df4d6e5bd008a94f1527aa751bbcf7160257c1d
refs/heads/master: 0990a97a1fc649bf9a7e6057c326a835d1520847
11 changes: 1 addition & 10 deletions trunk/drivers/media/rc/lirc_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,16 +752,7 @@ EXPORT_SYMBOL(lirc_dev_fop_read);

void *lirc_get_pdata(struct file *file)
{
void *data = NULL;

if (file && file->f_dentry && file_inode(file) &&
file_inode(file)->i_rdev) {
struct irctl *ir;
ir = irctls[iminor(file_inode(file))];
data = ir->d.data;
}

return data;
return irctls[iminor(file_inode(file))]->d.data;
}
EXPORT_SYMBOL(lirc_get_pdata);

Expand Down

0 comments on commit 312d55a

Please sign in to comment.