]> git.karo-electronics.de Git - linux-beck.git/commitdiff
greybus: Remove legacy suspend/resume callbacks
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 9 Jun 2016 11:04:39 +0000 (16:34 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 10 Jun 2016 00:28:02 +0000 (17:28 -0700)
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>
drivers/staging/greybus/greybus.h

index 154dfd11e93be4ca7c12b00a156ce7d2bb8a327e..dbc9be05afc6220495b9698ea4e33a34e01e3f80 100644 (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;