USB: sierra: clean up suspend
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:06 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:04 +0000 (15:04 -0700)
commit7d8825bed46a28688f97cc934ecb326cc4ce2d2e
tree62295525f4035cb43e963300986672c573fc7e7b
parent7c80782ebf803b71009f2a3d97f722d12fc20b05
USB: sierra: clean up suspend

Clean up suspend() somewhat and make sure to always set the suspended
flag (although it's only used for runtime PM) in order to match
resume().

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/sierra.c