USB: storage: sierra_ms: fix sysfs file attribute
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:17:52 +0000 (11:17 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 22:04:14 +0000 (14:04 -0800)
commitd9624e75f6ad94d8a0718c1fafa89186d271a78c
treeb7178df164f6ee8e7c4640e5b458b8776c9640f9
parent723b991a62d94f74c9f19abd3da6e937288eb969
USB: storage: sierra_ms: fix sysfs file attribute

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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/sierra_ms.c