mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
7d19143fe6
commit
03f3a9107f
3 changed files with 18 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue