summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorweiping zhang <zhangweiping@didichuxing.com>2017-12-06 16:59:16 +0300
committerMichael S. Tsirkin <mst@redhat.com>2017-12-07 19:30:50 +0300
commit7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5 (patch)
tree38ef83887dd988fe7ea05a07d0f3ec1ac8461c26 /drivers/thermal
parentd9e427f6ab8142d6868eb719e6a7851aafea56b6 (diff)
downloadlinux-7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5.tar.xz
virtio_mmio: add cleanup for virtio_mmio_probe
As mentioned at drivers/base/core.c: /* * NOTE: _Never_ directly free @dev after calling this function, even * if it returned an error! Always use put_device() to give up the * reference initialized in this function instead. */ so we don't free vm_dev until vm_dev.dev.release be called. Signed-off-by: weiping zhang <zhangweiping@didichuxing.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions