diff options
| author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2018-03-06 15:54:06 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-14 14:58:50 +0100 |
| commit | 0ec4eb71b4956548a9c652f6c26232995916008c (patch) | |
| tree | 08ec4a6661b9890d8e030ee03a67e057cc197f6d /tools/perf/scripts/python/stackcollapse.py | |
| parent | lkdtm: Add missing SPDX-License-Identifier line (diff) | |
| download | linux-0ec4eb71b4956548a9c652f6c26232995916008c.tar.gz linux-0ec4eb71b4956548a9c652f6c26232995916008c.zip | |
w1: use put_device() if device_register() fail
If device_register() returned an error! Always use put_device()
to give up the reference initialized in device_register().
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
