]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: hv: Eliminate device_id from vm_device
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 7 Mar 2011 21:35:30 +0000 (13:35 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 22:20:59 +0000 (14:20 -0800)
commit8b8c1bf3225df3694b42fbd65de9c01a87207801
tree100f438064b8973988db67f22d0f19f64ee42043
parent6d34d50d378bacc9ac631e8d3a73debced11e69d
Staging: hv: Eliminate device_id from vm_device

Both device abstractions: vm_device and hv_device maintain state
to reperesent the device instance (and they refer to them by different
names - device_id in vm_device and dev_instance in hv_device).
In preparation for consolidating all device state in
struct hv_device; eliminate device_id from struct vm_device.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus.h
drivers/staging/hv/vmbus_drv.c