aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2016-09-21 15:12:05 +0000
committerJiri Kosina <[email protected]>2016-09-22 11:10:06 +0200
commit46a41b512f6800b531e94bdf5f1ca0e226492d91 (patch)
tree76b3e8992d478809ad03cb8ee999bad8eb53c14b /tools/perf/util/trace-event-scripting.c
parent3da30bfc0b0a572a4f977a586edf34cf3dd503c3 (diff)
HID: alps: fix error return code in alps_input_configured()
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. While at it, remove redundant input_free_device(NULL) call. [[email protected]: ammend changelog] Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions