diff options
| author | 2018-03-11 11:25:48 +0530 | |
|---|---|---|
| committer | 2018-03-15 14:37:03 +0100 | |
| commit | ef49ec1dc35112b17f7e928aa08fcab60240bf1d (patch) | |
| tree | b735a02ac7d941b7bb4b1403a500c6d0f89e5dc1 /tools/perf/scripts/python | |
| parent | Revert "base: arch_topology: fix section mismatch build warnings" (diff) | |
| download | wireguard-linux-ef49ec1dc35112b17f7e928aa08fcab60240bf1d.tar.xz wireguard-linux-ef49ec1dc35112b17f7e928aa08fcab60240bf1d.zip | |
base: soc: use put_device() instead of kfree()
Never directly free @dev after calling device_register(), even
if it returned an error! Always use put_device() to give up the
reference initialized.
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')
0 files changed, 0 insertions, 0 deletions
