diff options
author | Geliang Tang <geliangtang@163.com> | 2015-10-11 21:05:13 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-17 21:42:29 -0700 |
commit | 82ff3ac7641a645b55f3bee4acceabf6f17e62f4 (patch) | |
tree | 4c132acad29c0ceb736b20051ec170097e7c984e /drivers/misc/dummy-irq.c | |
parent | f8bf0dece0fcc9b5271b67cae1123ebfcaf8d8bc (diff) |
misc: mic: replace kfree with put_device
Handle a failed device_register(), replace kfree() with put_device(),
which will call cosm/mbus/scif_release_dev().
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/dummy-irq.c')
0 files changed, 0 insertions, 0 deletions