summaryrefslogtreecommitdiff
path: root/drivers/hwmon
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 /drivers/hwmon
parentf8bf0dece0fcc9b5271b67cae1123ebfcaf8d8bc (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/hwmon')
0 files changed, 0 insertions, 0 deletions