commit | 82ff3ac7641a645b55f3bee4acceabf6f17e62f4 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Sun Oct 11 21:05:13 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 17 21:42:29 2015 -0700 |
tree | 4c132acad29c0ceb736b20051ec170097e7c984e | |
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>