diff options
author | Dan Carpenter <[email protected]> | 2021-06-17 17:15:10 +0300 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2021-07-19 10:53:52 +0200 |
commit | e37868f14416bc5f22235dce073c496381d349c3 (patch) | |
tree | 657432f1065473caa72776692ce52c8a66d6a305 /tools/perf/util/trace-event-scripting.c | |
parent | 36aaa3a0d9bc13e302dc146a20f022fb6891b605 (diff) |
clk: renesas: rzg2l: Avoid mixing error pointers and NULL
These functions accidentally return both error pointers and NULL when
there is an error. It doesn't cause a problem but it is confusing and
seems unintentional.
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Lad Prabhakar <[email protected]>
Link: https://lore.kernel.org/r/YMtY7nOtqEvTokh7@mwanda
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions