summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2015-10-11 21:05:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-17 21:42:29 -0700
commit82ff3ac7641a645b55f3bee4acceabf6f17e62f4 (patch)
tree4c132acad29c0ceb736b20051ec170097e7c984e /sound
parentf8bf0dece0fcc9b5271b67cae1123ebfcaf8d8bc (diff)
downloadlinux-stable-82ff3ac7641a645b55f3bee4acceabf6f17e62f4.tar.gz
linux-stable-82ff3ac7641a645b55f3bee4acceabf6f17e62f4.tar.bz2
linux-stable-82ff3ac7641a645b55f3bee4acceabf6f17e62f4.zip
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 'sound')
0 files changed, 0 insertions, 0 deletions