From: Viresh Kumar Date: Thu, 9 Jun 2016 11:04:39 +0000 (+0530) Subject: greybus: Remove legacy suspend/resume callbacks X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c05d471b2d6f4b9775674a3ada32a08079b1d24b;p=linux-beck.git 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 --- 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;