Staging: hv: Get rid of class_id from vm_device
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 7 Mar 2011 21:35:10 +0000 (13:35 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 22:20:24 +0000 (14:20 -0800)
commit65c22791dbc08bd6a793c12c070675e9159e4b5f
tree324344c862bd2bac6c51de7a7a720f5045079add
parent70b0af4f52b3da6aeac2bd03221217beff4746a1
Staging: hv: Get rid of class_id from vm_device

Both device abstractions: vm_device and hv_device maintain state
to reperesent the device type (and they refer to them by different
names - class_id in vm_device and dev_type in hv_device).
In preparation for consolidating all device state in
struct hv_device; eliminate class_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