USB: storage: sierra_ms: fix sysfs file attribute
commit6d8870840bf5289d11b3d131ccc1ab0cdb5ff83e
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:17:52 +0000 (15 11:17 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:44:02 +0000 (21 12:44 -0700)
treecf217be716bdc2cb795ba28c99f1412dfdf3fa34
parent5ae53c3f9f290b391063046414e297af58aa7817
USB: storage: sierra_ms: fix sysfs file attribute

commit d9624e75f6ad94d8a0718c1fafa89186d271a78c upstream.

A non-writable sysfs file shouldn't have writable attributes.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Kevin Lloyd <klloyd@sierrawireless.com>
Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/sierra_ms.c