git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'kvm-updates/3.4' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[pandora-kernel.git]
/
arch
/
arm
/
mach-msm
/
smd_debug.c
diff --git
a/arch/arm/mach-msm/smd_debug.c
b/arch/arm/mach-msm/smd_debug.c
index
0c56a5a
..
c56df9e
100644
(file)
--- a/
arch/arm/mach-msm/smd_debug.c
+++ b/
arch/arm/mach-msm/smd_debug.c
@@
-203,15
+203,9
@@
static ssize_t debug_read(struct file *file, char __user *buf,
return simple_read_from_buffer(buf, count, ppos, debug_buffer, bsize);
}
return simple_read_from_buffer(buf, count, ppos, debug_buffer, bsize);
}
-static int debug_open(struct inode *inode, struct file *file)
-{
- file->private_data = inode->i_private;
- return 0;
-}
-
static const struct file_operations debug_ops = {
.read = debug_read,
static const struct file_operations debug_ops = {
.read = debug_read,
- .open =
debug
_open,
+ .open =
simple
_open,
.llseek = default_llseek,
};
.llseek = default_llseek,
};