Staging: hv: create VMBUS_DEVICE macro and use it.
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 18:41:33 +0000 (11:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 18:41:33 +0000 (11:41 -0700)
commitc45cf2d4976e2fcde68d88898a37af70f2caaf5d
tree437ec34adfbe6e02a8e17d38d7fa66e746c6a620
parent283f21294ea02f7608e0c833b9c982712427fc50
Staging: hv: create VMBUS_DEVICE macro and use it.

This is to be used to be able to write hv_vmbus_device_id tables easier.

This patch also converts all hv drivers to use the macro, saving some
lines of code and making things easier to read overall.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/blkvsc_drv.c
drivers/staging/hv/hv_mouse.c
drivers/staging/hv/hv_util.c
drivers/staging/hv/hyperv.h
drivers/staging/hv/netvsc_drv.c
drivers/staging/hv/storvsc_drv.c