commit | b6a473a7e1d4f81fc3e355c95982820bb8eae97d | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Feb 05 21:38:59 2015 +0100 |
committer | David Vrabel <david.vrabel@citrix.com> | Mon Mar 16 14:49:13 2015 +0000 |
tree | 86ff95a319a255aee35e12cbbbea52add3c56e6e | |
parent | 4644e5ab06dda96f7080569992202e1aec8d3b07 [diff] |
xen: balloon: Use static attribute groups for sysfs entries Instead of manual calls of device_create_file(), device_remove_file() and sysfs_create_group(), assign static attribute groups to the device to register. This simplifies the code and avoids possible races. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: David Vrabel <david.vrabel@citrix.com>