USB: misc: cypress_cy7c63: fix up some sysfs attribute permissions
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:32:38 +0000 (11:32 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:08 +0000 (13:33 -0800)
commit0c4cb3c99d3a9affaf49356b8996d7cc642e647e
treeee691a3a76783936edaa44db037bad8d0d3099bf
parent4d7dcf1ef6c44a174489c84dd2a29bd429f52627
USB: misc: cypress_cy7c63: fix up some sysfs attribute permissions

commit c990600d340641150f7270470a64bd99a5c0b225 upstream.

They should not be writable by any user.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oliver Bock <bock@tfh-berlin.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/cypress_cy7c63.c