commit | 36fccce0e82a5ccd1c7f3861398f3303bff4669a | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Oct 17 11:39:40 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 17 21:45:05 2015 -0700 |
tree | fad1cae3137197d167f11752f258ca0ddce1a874 | |
parent | a2a47d00c08e2306185945dabaafd11447641077 [diff] |
W1: w1-gpio - switch to using dev_pm_ops Let's stop using legacy platform driver hooks for power management and switch to using the standard dev_pm_ops-based hooks. Also, instead of guarding PM methods with #ifdef CONFIG_PM annotate them as __maybe_unused as it provides better compile coverage. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>