vmbus: unregister device_obj->channels_kset

Without the patch, a device can't be thoroughly destroyed, because
vmbus_device_register() -> kset_create_and_add() still holds a reference
to the hv_device's device.kobj.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Fixes: c2e5df616e1a ("vmbus: add per-channel sysfs info")
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by Dexuan Cui and committed by Greg Kroah-Hartman 869b5567 74657181

+2
+2
drivers/hv/vmbus_drv.c
··· 1378 pr_debug("child device %s unregistered\n", 1379 dev_name(&device_obj->device)); 1380 1381 /* 1382 * Kick off the process of unregistering the device. 1383 * This will call vmbus_remove() and eventually vmbus_device_release()
··· 1378 pr_debug("child device %s unregistered\n", 1379 dev_name(&device_obj->device)); 1380 1381 + kset_unregister(device_obj->channels_kset); 1382 + 1383 /* 1384 * Kick off the process of unregistering the device. 1385 * This will call vmbus_remove() and eventually vmbus_device_release()