aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLevente Kurusa <[email protected]>2013-11-29 21:28:48 +0100
committerBorislav Petkov <[email protected]>2013-11-30 12:14:51 +0100
commit853d9b18f1e861d37e9b271742329f8c1176eabe (patch)
tree171fb589e32a47f2d71ace4c24b2cbe40064a222 /tools/perf/util/trace-event-scripting.c
parentdc1ccc48159d63eca5089e507c82c7d22ef60839 (diff)
x86, mce: Call put_device on device_register failure
This patch adds a call to put_device() when the device_register() call has failed. This is required so that the last reference to the device is given up. Signed-off-by: Levente Kurusa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions