diff options
| author | Fabio Estevam <[email protected]> | 2015-08-20 06:30:36 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2015-08-20 06:30:36 +0000 |
| commit | d3f4caa355c1c9d2ce7fd3da88e2be37836323db (patch) | |
| tree | eaac257fb6e3d3d6f7895a02cd81f9847211bdd4 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | ARM: dts: am57xx-evm: Add 'gpios' property with gpio2_8 (diff) | |
| download | kernel-d3f4caa355c1c9d2ce7fd3da88e2be37836323db.tar.gz kernel-d3f4caa355c1c9d2ce7fd3da88e2be37836323db.zip | |
PCI: dra7xx: Remove unneeded use of IS_ERR_VALUE()
There is no need to use the IS_ERR_VALUE() macro for checking the return
value from pm_runtime_* functions.
Test for a negative pm_runtime_get_sync() return value instead of using
IS_ERR_VALUE().
The semantic patch that makes this change is available in
scripts/coccinelle/api/pm_runtime.cocci.
Signed-off-by: Fabio Estevam <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
CC: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
