Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363210
b: refs/heads/master
c: a42f82f
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent 2b158ce commit 5542bd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: 36eda94fcf936ccee5a8693af7738174a56be898
refs/heads/master: a42f82f57a6411c89538a8c0a44150f67e449a4a
10 changes: 2 additions & 8 deletions trunk/drivers/misc/mei/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
#include "mei_dev.h"
#include "hw.h"

static int mei_dbgfs_open(struct inode *inode, struct file *file)
{
file->private_data = inode->i_private;
return 0;
}

static ssize_t mei_dbgfs_read_meclients(struct file *fp, char __user *ubuf,
size_t cnt, loff_t *ppos)
{
Expand Down Expand Up @@ -76,7 +70,7 @@ static ssize_t mei_dbgfs_read_meclients(struct file *fp, char __user *ubuf,
}

static const struct file_operations mei_dbgfs_fops_meclients = {
.open = mei_dbgfs_open,
.open = simple_open,
.read = mei_dbgfs_read_meclients,
.llseek = generic_file_llseek,
};
Expand All @@ -100,7 +94,7 @@ static ssize_t mei_dbgfs_read_devstate(struct file *fp, char __user *ubuf,
return ret;
}
static const struct file_operations mei_dbgfs_fops_devstate = {
.open = mei_dbgfs_open,
.open = simple_open,
.read = mei_dbgfs_read_devstate,
.llseek = generic_file_llseek,
};
Expand Down

0 comments on commit 5542bd9

Please sign in to comment.