Staging: samsung-laptop: fix up my fixup for some sysfs attribute permissions

They should be writable by root, not readable.
Doh, stupid me with the wrong flags.

Reported-by: Jonathan Cameron <jic23@cam.ac.uk>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg Kroah-Hartman 2010-11-18 11:21:04 -08:00
parent c9e51d9e4b
commit 4d7bc388b4

View File

@ -356,7 +356,7 @@ static ssize_t set_silent_state(struct device *dev,
}
return count;
}
static DEVICE_ATTR(silent, S_IRUSR | S_IRUGO,
static DEVICE_ATTR(silent, S_IWUSR | S_IRUGO,
get_silent_state, set_silent_state);