OSDN Git Service

staging: virtpci: Remove no-op suspend/resume functions
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 11 Jan 2015 20:01:27 +0000 (21:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Jan 2015 00:16:00 +0000 (16:16 -0800)
commit4f0cc93bbbea49b01da6a818766a3e0f79c10180
tree4a3fa0b2481ba3801a90a6a3a51e8d2ae69aa3cb
parent95e53ddd8240bad37df985a9ae2d2a07f49e6bf1
staging: virtpci: Remove no-op suspend/resume functions

The virtpci bus driver still uses the legacy suspend/resume callbacks. In
their current implementation these callbacks only contain a macro that
always expands to 'do { } while(0)'. So instead of converting them to dev PM
ops just remove them.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/virtpci/virtpci.c