staging: quickstart: fix up sysfs file permissions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Aug 2013 17:34:53 +0000 (10:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Aug 2013 17:34:53 +0000 (10:34 -0700)
commit3b7cf04f873d3317bdfeedb6c83396abd16f0955
treebb302ca374ae2af35ae66b9c095803a8dcf7a2cb
parent00009615c3fbd49d38771ad07cc9c9d96e05e9cb
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>
drivers/staging/quickstart/quickstart.c