diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-13 11:32:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 09:01:15 -0700 |
commit | 03f3a9107f5e848a42f25e3ab133db9f3b6546c7 (patch) | |
tree | e42554ce998801ea3d10cbaf856be86fc2f86d21 /include/linux/hyperv.h | |
parent | 7d19143fe6bc928aab9968fd47fe39b4996a3297 (diff) | |
download | linux-03f3a9107f5e848a42f25e3ab133db9f3b6546c7.tar.gz linux-03f3a9107f5e848a42f25e3ab133db9f3b6546c7.tar.bz2 linux-03f3a9107f5e848a42f25e3ab133db9f3b6546c7.zip |
hv: use dev_groups for device attributes
This patch is the first in a series that moves the hv bus code to use the
dev_groups field instead of dev_attrs, as dev_attrs is going away in future
kernel releases.
It moves the id sysfs file to the dev_groups structure, and creates the needed
show/store functions, instead of relying on one "universal" function for this.
By doing this, it removes the need for this 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>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index a3b8b2e2d244..45e9b65e6ab6 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -900,7 +900,6 @@ enum vmbus_channel_state { }; struct vmbus_channel_debug_info { - u32 relid; enum vmbus_channel_state state; uuid_le interfacetype; uuid_le interface_instance; |