diff options
| author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2018-03-12 17:06:52 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-15 18:12:01 +0100 |
| commit | 5fbe9f35dfcd83d94ec9bf4f68a9e0d7cc0550b5 (patch) | |
| tree | 113b1cd6de62b6e6ca4703846e16107fa8cb7b32 /tools/perf/scripts/python/bin | |
| parent | devres: combine function devm_ioremap* (diff) | |
| download | linux-5fbe9f35dfcd83d94ec9bf4f68a9e0d7cc0550b5.tar.gz linux-5fbe9f35dfcd83d94ec9bf4f68a9e0d7cc0550b5.zip | |
misc: mic: Release reference count and memory for VOP device
Never directly free @dev after calling device_register(),
even if it returned an error! Always use put_device() to
give up the reference initialized.
Release allocated memory for vop device in vop_release_dev().
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/bin')
0 files changed, 0 insertions, 0 deletions
