Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 370525df authored by Axel Lin's avatar Axel Lin Committed by Matthew Garrett
Browse files

acer-wmi: set permissions on interface file to S_IRUGO



The interface file is not writable, thus set permissions to S_IRUGO.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent d8eca110
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1084,8 +1084,7 @@ static ssize_t show_interface(struct device *dev, struct device_attribute *attr,
	}
	}
}
}


static DEVICE_ATTR(interface, S_IWUGO | S_IRUGO | S_IWUSR,
static DEVICE_ATTR(interface, S_IRUGO, show_interface, NULL);
	show_interface, NULL);


/*
/*
 * debugfs functions
 * debugfs functions