Staging: hv: vmbus: Show the modalias in /sys/bus/vmbus/devices/*/
authorOlaf Hering <olaf@aepfle.de>
Fri, 2 Sep 2011 16:25:56 +0000 (18:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 19:06:34 +0000 (12:06 -0700)
commitfd776ba9abdb6a89aa1ef500d7046caa35a0905a
tree95c981f0454d3ae99892cb280d9aa5ce0ff9c694
parentb2451a4907fdcd718c3580d1e64d75fde04148fa
Staging: hv: vmbus: Show the modalias in /sys/bus/vmbus/devices/*/

Show a modalias file in /sys/bus/vmbus/devices/*/
Add a helper function to print the same content in modalias and uevent.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c