aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2017-10-21 04:37:49 -0400
committerMauro Carvalho Chehab <[email protected]>2017-10-31 07:23:52 -0400
commit3ddad1ae10c23a700e060edab11eb13ec01ea380 (patch)
tree8f05f2ad6a6cad664d1704346843c91e666a0ff6 /tools/perf/scripts/python
parent6981d6e55c70b831acf8bea99545adcf940949b5 (diff)
media: tegra-cec: fix messy probe() cleanup
The probe() cleanup code ('goto foo_error') was very messy. It appears that this code wasn't updated when I switched to the devm_ functions in an earlier version. Update the code to use 'return error' where it can and do proper cleanup where it needs to. Note that the original code wasn't buggy, it was just messy. 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