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>
Thu, 9 Dec 2010 21:33:08 +0000 (13:33 -0800)
commit9df231aa159bcd4955711ba129d6c906c3f9338d
tree05a16aa95eb9815cf53345643bb4b9204c73bce1
parent1db5bb4012cf87b3e5d1b48bf682e1a35098fd62
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