greybus: Remove legacy suspend/resume callbacks

We should be using the PM hooks available within the 'struct
device_driver', instead of adding legacy suspend/resume callbacks.
Remove them.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Viresh Kumar
2016-06-09 16:34:39 +05:30
committed by Greg Kroah-Hartman
parent 8a285fed1a
commit c05d471b2d

View File

@@ -62,9 +62,6 @@ struct greybus_driver {
const struct greybus_bundle_id *id);
void (*disconnect)(struct gb_bundle *bundle);
int (*suspend)(struct gb_bundle *bundle, pm_message_t message);
int (*resume)(struct gb_bundle *bundle);
const struct greybus_bundle_id *id_table;
struct device_driver driver;