procfs: new helper - PDE_DATA(inode)
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / block / ps3vram.c
index 75e112d660069411f5cb7d60c15733bac7b248d4..06a2e53e5f37299191b1d9c7fe5e2caf036461a6 100644 (file)
@@ -525,7 +525,7 @@ static int ps3vram_proc_show(struct seq_file *m, void *v)
 
 static int ps3vram_proc_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, ps3vram_proc_show, PDE(inode)->data);
+       return single_open(file, ps3vram_proc_show, PDE_DATA(inode));
 }
 
 static const struct file_operations ps3vram_proc_fops = {