drivers/hid/hid-lg4ff.c: avoid world-writable sysfs files.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 14 May 2014 01:03:48 +0000 (10:33 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 14 May 2014 01:23:54 +0000 (10:53 +0930)
commit5c143c02259541c5e5c99d0d657d22a7dbc69334
tree2e612d0e57943abfc68e66414e394e14ad7a6281
parent43d910ff15833c341f1c44eec77b34d7b9f42d21
drivers/hid/hid-lg4ff.c: avoid world-writable sysfs files.

In line with practice for module parameters, we're adding a build-time
check that sysfs files aren't world-writable.

Cc: Simon Wood <simon@mungewell.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/hid/hid-lg4ff.c