diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-05 21:38:59 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-03-16 14:49:13 +0000 |
commit | b6a473a7e1d4f81fc3e355c95982820bb8eae97d (patch) | |
tree | 86ff95a319a255aee35e12cbbbea52add3c56e6e /scripts/xen-hypercalls.sh | |
parent | 4644e5ab06dda96f7080569992202e1aec8d3b07 (diff) | |
download | linux-b6a473a7e1d4f81fc3e355c95982820bb8eae97d.tar.bz2 |
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>
Diffstat (limited to 'scripts/xen-hypercalls.sh')
0 files changed, 0 insertions, 0 deletions