Merge tag 'soc-for-linus-3' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[firefly-linux-kernel-4.4.55.git] / drivers / acpi / button.c
index 92a659aa639635534c83580dd35d3cb53edbfcd5..d2e617b5b3f661c8d0effd34628eb4225875d0f4 100644 (file)
@@ -129,7 +129,7 @@ static int acpi_button_state_seq_show(struct seq_file *seq, void *offset)
 
 static int acpi_button_state_open_fs(struct inode *inode, struct file *file)
 {
-       return single_open(file, acpi_button_state_seq_show, PDE(inode)->data);
+       return single_open(file, acpi_button_state_seq_show, PDE_DATA(inode));
 }
 
 static const struct file_operations acpi_button_state_fops = {