aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArvind Yadav <[email protected]>2018-03-08 15:06:07 +0530
committerBjorn Andersson <[email protected]>2018-03-17 21:45:57 -0700
commita9011726c4bb37e5d6a7279bf47fcc19cd9d3e1a (patch)
treef85ce090085c45c50f2c6f895a2f2c3861d98794 /tools/perf/util/scripting-engines/trace-event-python.c
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
rpmsg: glink: use put_device() if device_register fail
if device_register() returned an error! Always use put_device() to give up the reference initialized. And unregister device for other return error. Signed-off-by: Arvind Yadav <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions