diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-10-17 21:39:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 07:45:05 +0300 |
commit | 36fccce0e82a5ccd1c7f3861398f3303bff4669a (patch) | |
tree | fad1cae3137197d167f11752f258ca0ddce1a874 /drivers/misc | |
parent | a2a47d00c08e2306185945dabaafd11447641077 (diff) | |
download | linux-36fccce0e82a5ccd1c7f3861398f3303bff4669a.tar.xz |
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>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions