diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-12-22 23:35:33 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-23 15:35:50 +0300 |
| commit | f92d27a6ee158c43e276712af23c79997780471a (patch) | |
| tree | 2c63692f1f3fd253f5ca730e44827f0a5e977fdc /include/linux/stacktrace.h | |
| parent | 9b7688c19c70808a088c9cb3b933d3a5b014d679 (diff) | |
| download | linux-f92d27a6ee158c43e276712af23c79997780471a.tar.xz | |
ASoC: rockchip: Discard pm_runtime_put() return value
It is better to check directly whether or not CONFIG_PM has
been enabled instead of relying on an error value returned by
pm_runtime_put() in that case because pm_runtime_put() may also return
an error value in other cases, like after writing "on" to the devices'
runtime PM "control" attribute in sysfs for one example.
This will facilitate a planned change of the pm_runtime_put() return
type to void in the future.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/5160923.0VBMTVartN@rafael.j.wysocki
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
