aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNiklas Söderlund <[email protected]>2019-05-15 20:35:38 -0400
committerMauro Carvalho Chehab <[email protected]>2019-05-28 12:50:03 -0400
commit0c310868826eb10b724a21dcd05e19768b6fc3a8 (patch)
tree57838b95d2577444fd6958e347a821a593a60b97 /tools/perf/scripts/python
parent20059cbbf981ca954be56f7963ae494d18e2dda1 (diff)
media: rcar-csi2: Fix coccinelle warning for PTR_ERR_OR_ZERO()
Use the PTR_ERR_OR_ZERO() macro instead of construct: if (IS_ERR(foo)) return PTR_ERR(foo); return 0; Fixes: 3ae854cafd76 ("rcar-csi2: Use standby mode instead of resetting") Reported-by: kbuild test robot <[email protected]> Signed-off-by: Niklas Söderlund <[email protected]> Reviewed-by: Ulrich Hecht <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions