Staging: hv: Get rid of class_id from vm_device
Subsystems (2)
PATCH 14/16 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 <[email protected]>
Signed-off-by Abhishek Kane <[email protected]>
Signed-off-by Haiyang Zhang <[email protected]>
Signed-off-by Hank Janssen <[email protected]>
--- drivers/staging/hv/vmbus.h | 1 - drivers/staging/hv/vmbus_drv.c | 60 +++++++++++++++++++-------------------- 2 files changed, 29 insertions(+), 32 deletions(-)
drivers/staging/hv/vmbus.h +0 -1
@@ -30,7 +30,6 @@struct vm_device { -struct hv_guid class_id;struct hv_guid device_id;struct hv_device device_obj;struct device device;
drivers/staging/hv/vmbus_drv.c +29 -31
93 lines not on this page · raw message
Signature · 1 line
1.5.5.6