USB: misc: usbled: fix up some sysfs attribute permissions
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:35:49 +0000 (11:35 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:08 +0000 (13:33 -0800)
commit1db5bb4012cf87b3e5d1b48bf682e1a35098fd62
tree2691fffec002b0ae0381106dfe549966a5168a68
parent0c4cb3c99d3a9affaf49356b8996d7cc642e647e
USB: misc: usbled: fix up some sysfs attribute permissions

commit 48f115470e68d443436b76b22dad63ffbffd6b97 upstream.

They should not be writable by any user.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/usbled.c