USB: misc: trancevibrator: fix up a sysfs attribute permission
commit872d84628480ee1e26503e45e9650c09c649380c
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:34:26 +0000 (15 11:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:26:58 +0000 (9 13:26 -0800)
tree2192343a7a040a9cd3506fa4978beb063f21a742
parent89879f8368809fdcef876ce271b9c03aae57a399
USB: misc: trancevibrator: fix up a sysfs attribute permission

commit d489a4b3926bad571d404ca6508f6744b9602776 upstream.

It should not be writable by any user.

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