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 15:49:13 +0100 |
commit | b6a473a7e1d4f81fc3e355c95982820bb8eae97d (patch) | |
tree | 86ff95a319a255aee35e12cbbbea52add3c56e6e /scripts/xen-hypercalls.sh | |
parent | xen: pcpu: Use static attribute groups for sysfs entry (diff) | |
download | linux-b6a473a7e1d4f81fc3e355c95982820bb8eae97d.tar.xz linux-b6a473a7e1d4f81fc3e355c95982820bb8eae97d.zip |
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