commit | 3b7cf04f873d3317bdfeedb6c83396abd16f0955 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 24 10:34:53 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 24 10:34:53 2013 -0700 |
tree | bb302ca374ae2af35ae66b9c095803a8dcf7a2cb | |
parent | 00009615c3fbd49d38771ad07cc9c9d96e05e9cb [diff] |
staging: quickstart: fix up sysfs file permissions Use the default DEVICE_ATTR_RO/RW macros to specify the file permissions better, and make them easier to audit. And did we really want any user to be able to write to this file, I kind of doubt it... Cc: Jiang Liu <jiang.liu@huawei.com> Cc: Toshi Kani <toshi.kani@hp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>