hv: move "state" bus attribute to dev_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Sep 2013 18:32:50 +0000 (11:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 16:01:15 +0000 (09:01 -0700)
commita8fb5f3d582d3b4997d9449ceb82a0223d169486
treeaafa9ae9904fd17a64518e3d605c372b166ddfb3
parent03f3a9107f5e848a42f25e3ab133db9f3b6546c7
hv: move "state" bus attribute to dev_groups

This moves the "state" bus attribute to the dev_groups structure,
removing the need for it to be in a temporary structure.

Tested-by: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
drivers/hv/vmbus_drv.c
include/linux/hyperv.h