USB: OTG: langwell_otg: fix up some sysfs attribute permissions
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:37:55 +0000 (11:37 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 22:04:15 +0000 (14:04 -0800)
commit3d965875144b905d71dfb4d291c665c0794222c4
treea515517c152af03641fe05d7c13b16d91a90b575
parente24d7ace4e822debcb78386bf279c9aba4d7fbd1
USB: OTG: langwell_otg: fix up some sysfs attribute permissions

They should not be writable by any user.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Hao Wu <hao.wu@intel.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Alek Du <alek.du@intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/langwell_otg.c