From c05d471b2d6f4b9775674a3ada32a08079b1d24b Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Thu, 9 Jun 2016 16:34:39 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/greybus.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h index 154dfd11e93b..dbc9be05afc6 100644 --- a/drivers/staging/greybus/greybus.h +++ b/drivers/staging/greybus/greybus.h @@ -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; -- 2.39.5