Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304551
b: refs/heads/master
c: 5a28c87
h: refs/heads/master
i:
  304549: 28beba1
  304547: 36799f3
  304543: c008f6f
v: v3
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed May 8, 2012
1 parent 65a373f commit eae1d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: 390beae4f843d4d2c4adfdedc1e3d633f9d3945f
refs/heads/master: 5a28c87397655cb0d791d04e45bd7cd5691ba0f2
10 changes: 1 addition & 9 deletions trunk/drivers/iio/industrialio-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,6 @@ static void __exit iio_exit(void)
}

#if defined(CONFIG_DEBUG_FS)
static int iio_debugfs_open(struct inode *inode, struct file *file)
{
if (inode->i_private)
file->private_data = inode->i_private;

return 0;
}

static ssize_t iio_debugfs_read_reg(struct file *file, char __user *userbuf,
size_t count, loff_t *ppos)
{
Expand Down Expand Up @@ -218,7 +210,7 @@ static ssize_t iio_debugfs_write_reg(struct file *file,
}

static const struct file_operations iio_debugfs_reg_fops = {
.open = iio_debugfs_open,
.open = simple_open,
.read = iio_debugfs_read_reg,
.write = iio_debugfs_write_reg,
};
Expand Down

0 comments on commit eae1d7c

Please sign in to comment.