vmbus: make sysfs names consistent with PCI
authorStephen Hemminger <sthemmin@microsoft.com>
Tue, 1 Nov 2016 07:01:59 +0000 (00:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Nov 2016 15:07:13 +0000 (09:07 -0600)
commitf6b2db084b65b9dc0f910bc48d5f77c0e5166dc6
treeafa4e5b7518f3fd508406c8eea2137e6086c51ec
parent582ab27a063a506ccb55fc48afcc325342a2deba
vmbus: make sysfs names consistent with PCI

In commit 9a56e5d6a0ba ("Drivers: hv: make VMBus bus ids persistent")
the name of vmbus devices in sysfs changed to be (in 4.9-rc1):
  /sys/bus/vmbus/vmbus-6aebe374-9ba0-11e6-933c-00259086b36b

The prefix ("vmbus-") is redundant and differs from how PCI is
represented in sysfs. Therefore simplify to:
  /sys/bus/vmbus/6aebe374-9ba0-11e6-933c-00259086b36b

Please merge this before 4.9 is released and the old format
has to live forever.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/vmbus_drv.c