diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2018-04-25 20:26:14 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-30 16:09:34 -0400 |
commit | 00ad691ab140b54ab9f5de5e74cb994f552e8124 (patch) | |
tree | 576e21cceb8802d26a4d3a4e2a116d0440112c6c /kernel/time/clockevents.c | |
parent | d3c68d0b4183ddfa05577348a231dd117e6563df (diff) | |
download | linux-00ad691ab140b54ab9f5de5e74cb994f552e8124.tar.bz2 |
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 <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/time/clockevents.c')
0 files changed, 0 insertions, 0 deletions