USB: misc: trancevibrator: fix up a sysfs attribute permission
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:34:26 +0000 (11:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 22:04:15 +0000 (14:04 -0800)
commitd489a4b3926bad571d404ca6508f6744b9602776
tree481f2b750b45190097c7a5d69aa372cd3f9a4347
parentc990600d340641150f7270470a64bd99a5c0b225
USB: misc: trancevibrator: fix up a sysfs attribute permission

It should not be writable by any user.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Sam Hocevar <sam@zoy.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/trancevibrator.c