diff options
author | 2015-05-26 15:07:56 +0300 | |
---|---|---|
committer | 2015-06-16 14:25:53 +0300 | |
commit | 898a2f387d1c663772c630e8f78ef60f1639077e (patch) | |
tree | 905f444af548417afd20f05fdec45caf081f7973 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm: rcar-du: Clarify error message when encoder initialization fails (diff) | |
download | wireguard-linux-898a2f387d1c663772c630e8f78ef60f1639077e.tar.xz wireguard-linux-898a2f387d1c663772c630e8f78ef60f1639077e.zip |
drm: rcar-du: Convert rcar_du_encoders_init_one() return value to 0/<0
The function returns 1 on success, and either 0 or a negative error code
on failure. As the 0 and negative values don't need to be differentiated
by the caller, convert it to the usual scheme of returning 0 on success
and a negative error code on failure.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions