Staging: hv: vmbus: Cleanup vmbus_uevent() code
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 25 Aug 2011 16:48:38 +0000 (09:48 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 21:08:23 +0000 (14:08 -0700)
commit0ddda6603a6eea0b3aff294648ecb30a22e974f1
tree70bd10777a68d4c6c7f6a33d28d04b04979929ca
parent5cee7cb79d210f48c19692a79e0508ec001e439f
Staging: hv: vmbus: Cleanup vmbus_uevent() code

Now generate appropriate uevent based on the modalias string. As part of this,
cleanup the existing uevent code.

[gregkh - fixed code to handle driver_data portion of struct
hv_vmbus_device_id]

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c