/* * drivers/base/power/generic_ops.c - Generic PM callbacks for subsystems * * Copyright (c) 2010 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. * * This file is released under the GPLv2. */ #include <linux/pm.h> #include <linux/pm_runtime.h> #include <linux/export.h> #include <linux/suspend.h> #ifdef CONFIG_PM /** * pm_generic_runtime_suspend - Generic runtime suspend callback for subsystems. * @dev: Device to suspend. * * If PM operations are defined for the @dev's driver and they include * ->runtime_suspend(), execute it and return its error code. Otherwise, * return 0. */
int pm_generic_runtime_suspend(struct device *dev) { const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; int ret; ret = pm && pm->runtime_suspend ? pm->runtime_suspend(dev) : 0; return ret; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 50 | 98.04% | 1 | 50.00% |
Ohad Ben-Cohen | 1 | 1.96% | 1 | 50.00% |
Total | 51 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 50 | 98.04% | 1 | 50.00% |
Ohad Ben-Cohen | 1 | 1.96% | 1 | 50.00% |
Total | 51 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 52 | 100.00% | 1 | 100.00% |
Total | 52 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 4 | 100.00% |
Total | 44 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 1 | 100.00% |
Total | 44 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 1 | 100.00% |
Total | 44 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 1 | 100.00% |
Total | 44 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 1 | 100.00% |
Total | 44 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 1 | 100.00% |
Total | 44 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 44 | 100.00% | 2 | 100.00% |
Total | 44 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 42 | 100.00% | 1 | 100.00% |
Total | 42 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 32 | 100.00% | 1 | 100.00% |
Total | 32 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rafael J. Wysocki | 1163 | 99.15% | 6 | 54.55% |
Paul Gortmaker | 3 | 0.26% | 1 | 9.09% |
Ohad Ben-Cohen | 2 | 0.17% | 1 | 9.09% |
Aaro Koskinen | 2 | 0.17% | 1 | 9.09% |
Ulf Hansson | 2 | 0.17% | 1 | 9.09% |
Geert Uytterhoeven | 1 | 0.09% | 1 | 9.09% |
Total | 1173 | 100.00% | 11 | 100.00% |