HID: prodikeys: make sysfs permissions more strict
authorJiri Kosina <jkosina@suse.cz>
Thu, 18 Nov 2010 15:27:07 +0000 (16:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 18 Nov 2010 15:30:34 +0000 (16:30 +0100)
commitc311598b29f09c5092747a2603700f96a7daec2a
tree3721fd171cd595176a60de47873290ae3ac251bb
parente9229faf920aba47dd1ba6940b3ca138024543d3
HID: prodikeys: make sysfs permissions more strict

It's not really dangerous in this driver, but it's against general
practice and worth fixing.

Proper place for handling this correctly is udev.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-prodikeys.c