diff options
| author | Arvind Yadav <[email protected]> | 2018-04-25 14:56:14 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-04-30 20:09:34 +0000 |
| commit | 00ad691ab140b54ab9f5de5e74cb994f552e8124 (patch) | |
| tree | 576e21cceb8802d26a4d3a4e2a116d0440112c6c /fs/proc/array.c | |
| parent | sparc64: Fix mistake in oradax license text (diff) | |
| download | kernel-00ad691ab140b54ab9f5de5e74cb994f552e8124.tar.gz kernel-00ad691ab140b54ab9f5de5e74cb994f552e8124.zip | |
sparc: vio: 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
