Merge branch 'for-3.10' of git://linux-nfs.org/~bfields/linux
[firefly-linux-kernel-4.4.55.git] / drivers / macintosh / via-pmu.c
index c9c85426f4ff55c60fc995dc5e9eb59e554b2c66..283e1b53c6be4ef1d4b3dfbf381b68f5cf1cdbc2 100644 (file)
@@ -870,7 +870,7 @@ static int pmu_battery_proc_show(struct seq_file *m, void *v)
 
 static int pmu_battery_proc_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, pmu_battery_proc_show, PDE(inode)->data);
+       return single_open(file, pmu_battery_proc_show, PDE_DATA(inode));
 }
 
 static const struct file_operations pmu_battery_proc_fops = {